vue3-runtime-template
vue3-runtime-template copied to clipboard
Vue component for compiling templates on the fly using a v-html like API
Hi, first of all thanks for your work 🎉 I am trying to use this library to dynamically render vuejs components, but I am not able to use custom components....
I'm using this component to render Vue components within HTML that is uses RevealJS to create a slideshow out of it. Unfortunately, RevealJS can only be initialized after the component...
you need to edit vite.config.js like this: ``` import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; // https://vitejs.dev/config/ export default defineConfig({ resolve: { alias: { vue: 'vue/dist/vue.esm-bundler.js' }...
Hi, the package doesn't seem to work with latest Nuxt3 (`3.0.0-27500163.51ae426`). With minimal application (`app.vue`): ```javascript import VRuntimeTemplate from "vue3-runtime-template"; export default { data: () => ({ name: "Mellow", template:...
https://github.com/mattelen/vue3-runtime-template/issues/9
Hi, @mattelen ! Thnak you for component and your work! Just one feature request - to add slots support at row https://github.com/mattelen/vue3-runtime-template/blob/4f20a4c4ebbccbbfefadcfe7edb6b757b093aa09/index.js#L115 change to ``` return h(dynamic, {...finalProps}, this.$slots); ```...
Hi first of all thank you very much for the work, it (almost) works for me!!! I have external HTML where components are defined as `` And they are not...
I don't see how to set "components" ?
Is there some way to use not one, but more than one vue-syntax template string at once, using the first registered string, naming it to be used as a child's...
Images in the templates are never cached in browser, anyone else experienced this? Or any idea how to solve it?