Level 12
Changing this
import { createApp } from 'vue';
to this
import { createApp } from "vue/dist/vue.esm-bundler";
solved the problem
8 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm receiving the following 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>
How can I fix this?
Changing this
import { createApp } from 'vue';
to this
import { createApp } from "vue/dist/vue.esm-bundler";
solved the problem
Please or to participate in this conversation.