#How to achieve Micro Frontend in Tauri (load frontend by demand)

4 messages · Page 1 of 1 (latest)

idle creek
#

Hey there just a question based on theory. If my application grows rapidly and will have a lot of features & pages how I can seperate them on bundle level to minor it's impact on app instead of loading everything on launch? Is it possible to achive that with Tauri? It's similar to Micro Frontends

elfin geode
idle creek
elfin geode
# idle creek Ooo that's sounds great! Can you share how you've done it? I'm using plain old r...

Sure thing, but I don't know if this will help you that much, because I didn't configure it, it is something internal to angular 😀

Here: https://github.com/charlesschaefer/faire-todo-app/blob/main/src/app/app.routes.ts we load the components asynchronously, so it won't build a large pack with everything, which allows to include the components as they are required.

GitHub

An opensource multiplatform todo app. Contribute to charlesschaefer/faire-todo-app development by creating an account on GitHub.