Anthony Fu
Anthony Fu
@isokosan Please provide a minimal reproduction repo so we can better help.
I don't have a preference for frameworks. You can use the one you prefer and send a PR. Thanks!
It seem to be a partial transformation for SFC parts, can you upgrade to the latest version of `unplugin-vue-components` and `unplugin-icons` to see if it fixes?
Currently no, vite-ssg need to control the router to render the page.
When you use it this way, axios will rerun in your client anyway. I don't think you can not include it in the client build.
Can you share the reproduction?
I would also concern a bit about externalizing it - since it's only a one-file module and not really complex to maintain within this repo. While externalizing it will debugging...
Haven't looking deep into it, but it seems to break my site https://github.com/antfu/antfu.me. Could you help checking out which change is breaking it? Thanks.
There are some problem need to be resolved with this solution - Each page might have different initial state, which ideally, we need have different `initial-state.js` file for each entry...