[Vue warn] Vue compat runtime compilation error. #7190
Unanswered
tomaszmac
asked this question in
Help/Questions
Replies: 1 comment 1 reply
-
Can you provide a minimal reproduction? like a GitHub repo. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
So I'm trying to migrate app with Vue compat but after installing it and trying to run app I get an error:
[Vue warn]: Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js". at <App>
Not sure if this is the problem but in the app.js I create an app like:
const app = createApp({ created() {}, mounted() {} })
After changing to esm-bundler the app is running.
Is there a way to run vue/compat with this config?
Beta Was this translation helpful? Give feedback.
All reactions