Replies: 1 comment
-
Hi Saleiv vue3-scf-loder cannot (an will not) pre-compile assets without they are used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there FranckFreiburger,
First off the bat, I wanted to thank you for the amazing tool. It's great that you managed to connect so many different things into one functional repository.
We wanted to develop sites using primarily this and avoid the build step entirely. However, Google Page Speed insights has a bad score on Largest Contentful Paint due to processing occuring in the library.
Tried running the withCache example as a prototype, but it shoots an error on execution.
Is there a way to serialize the compiled modules somehow? I see that loadModule returns a promise with scopeId, render and setup functions - is there a way to serialize this and deserialize it later?
In essence, vue-sfc-compiler can compile a .js file that can be imported into the browser later on. Can a similar .js file be compiled somehow with your loader and then cached?
Any other approach or insight is very much appreciated!
Best regards,
Aleksandar
Beta Was this translation helpful? Give feedback.
All reactions