Support the ongoing development of Laravel.io →
posted 9 months ago
Vue.js
Last updated by @eazzy007 9 months ago.
0

Can you show how you import Vue?

— Benjamin from Larabiz (Découvrez comment utiliser Vue.js avec Laravel sur Larabiz)

Last updated 9 months ago.
0

Do you mean in app.js? i am doing it like this:

import {createApp} from 'vue'; import ExampleComponent from './components/ExampleComponent.vue';

If that is not what you mean, then there must be a step i am missing. Kindly explain it to me and or point me to a resource where i can learn to do it properly Thanks

0

Looks like VueJS 3 needs this:

createApp({
  components: {
    //some components separeted by coma
  }
}).mount("\\#app");
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Ezekiel Okeh eazzy007 Joined 31 Mar 2022

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.