Hello. Love the loader! But Vue complains when using it in an SSR setup:
[Vue warn]: You are using the runtime-only build of Vue where the template
compiler is not available. Either pre-compile the templates into render functions,
or use the compiler-included build.
found in
---> <ArrowTopIcon>
<Sitemap>
<Anonymous>
<Root>
Any suggestions?
Could you share your SSR setup? I've created a super simple SSR app and couldn't reproduce that warning.
Hi, unfortunately it'd be quite a hassle... But it's almost an exact copy of Vue's own hackernews 2.0 example (at least the important parts like entry-server.js, entry-client.js, main.js, both webpack configs, etc). Could you share the usage in your simple SSR app?
@andreasvirkus could you update to v0.2 and tell me if the SSR works now?
I am closing this for now, please create a new issue if you still have this or similar problem, will do my best to help :+1:
Most helpful comment
https://github.com/visualfanatic/vue-svg-loader/pull/8