Integrating Quasar with WYSIWYG editors
-
Is there away to switch from the Vue run-time or get things like most wsyiwyg editors working in tandem with Quasar? Tired almost everyone out there and they are error with:
You are using the runtime-only build of Vue where the template option is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
Most of these editors (such as https://github.com/Haixing-Hu/vue-html-editor) use npm install then something like:
var Vue = require("vue"); var vm = new Vue({ el: "#app", components: { "vue-html-editor": require("vue-html-editor") } });
But apparently any add-on component in Quasar has to be pre-compiled??
-
Have you seen this?
https://github.com/vuejs/vue/wiki/Vue-2.0-RC-Starter-Resources#standalone-vs-runtime-builds
Scott
-
Edit
/config/index.js
and add aresolve
line for Vue targetingvue/dist/vue.js
so it will embed the compiler too. Bare in mind that Vue performance decreases when including the compiler too!