nicolasbeauvais / vue-add-to-calendar

A Vue.js component that provides "Add to Calendar" functionality, works with Vue 2.X
https://nicolasbeauvais.github.io/vue-add-to-calendar/
MIT License
134 stars 25 forks source link

Error: runtime-only build using vuejs cli 3 #1

Closed TomFranssen closed 6 years ago

TomFranssen commented 6 years ago

Hello, I'm getting the following error when I am using this plugin using the VueJS CLI version 3. Any idea what's going on?

[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

---> <GoogleCalendar>
       <AddToCalendar>
         <EventDetails> at src/components/EventDetails.vue
           <App> at src/App.vue
             <Root>
nicolasbeauvais commented 6 years ago

Hello @TomFranssen,

I do not plan on making such a change for the package (switching to the template compiler) for now as my free time is short.

You can make a PR if you have the courage that I would gladly review :) Or just forge a link in your app using the definition set in the add-to-calendar.js file.

Thank you.

TomFranssen commented 6 years ago

Thanks! I will see what I can do :D