vue-simple-lightbox icon indicating copy to clipboard operation
vue-simple-lightbox copied to clipboard

Template not pre-complied?

Open MintyOrb opened this issue 6 years ago • 3 comments

When trying to use this component with vue 2.5.1 I get the following error: 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. Since the runtime-only builds are roughly 30% lighter-weight than their full-build counterparts, it'd be best to pre-compile.

MintyOrb avatar Dec 15 '17 08:12 MintyOrb

I have the same issue. How did you fix it?

iamsayantan avatar Jun 29 '18 07:06 iamsayantan

I managed to solve this by using the runtime + compiler build of Vue as explained here: https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only

salvadornico avatar Jul 12 '18 13:07 salvadornico

Same issue here. Is there something can be done, so imported component vue-simple-lightbox would work out of the box with vue project ? I don't think it's a good practice to modify so imported component starts working.

coolemur avatar Sep 27 '18 07:09 coolemur