[Q2 Vite]: vueCompiler: true, does not seem to enable vue compiler #13862
Answered
by
yusufkandemir
ssuess
asked this question in
CLI - PWA mode
-
in my quasar.conf.js file, I have set
(this is part of my so far futile attempt to get |
Beta Was this translation helpful? Give feedback.
Answered by
yusufkandemir
Jul 4, 2022
Replies: 1 comment 2 replies
-
You don't need the runtime compiler for this, just pass the build-time options as it says. See Vue docs. https://quasar.dev/quasar-cli-vite/quasar-config-js#build build: {
viteVuePluginOptions: {
template: {
compilerOptions: {
isCustomElement: (tag) => tag.startsWith('my-')
}
}
}
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ssuess
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You don't need the runtime compiler for this, just pass the build-time options as it says. See Vue docs.
https://quasar.dev/quasar-cli-vite/quasar-config-js#build