Vue-svg-loader: Use render function instead

Created on 4 Aug 2017  路  5Comments  路  Source: visualfanatic/vue-svg-loader

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?

Most helpful comment

All 5 comments

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:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dsbert picture dsbert  路  6Comments

sashakaralchuk picture sashakaralchuk  路  6Comments

valangar picture valangar  路  3Comments

leopoldkristjansson picture leopoldkristjansson  路  5Comments

edarioq picture edarioq  路  6Comments