Can you share the contents you currently have in your app js file?
In your app.js file you should do something like this:
import { createApp } from "vue";
const app = createApp({});
app.mount('#app');
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi All,
I'm currently using Vue and going along with Jeff's tutorial
I'm using a CDN and have the code in the Blade template, I'm only on episode 3 or so
I've run
npm i vue
What would I need to type into my app.js file to import Vue so that I'm no longer using a CDN and can practice when I'm offline?
Please or to participate in this conversation.