R
R
Roma Ishutin2022-02-09 16:42:36
webpack
Roma Ishutin, 2022-02-09 16:42:36

Why can't I connect Vue Laravel?

The first time I encountered edits on Laravel. Everything works correctly except JS. As I understand it, VUE.JS is used for the front and it gives an error that it cannot connect the Vue component.

Website link: https://ventoexpert.blaubergventilatoren.de/

Webpack
6203c4a69c37a905020881.png

error Error in browser console:
6203c4b89b808718129516.png

Vue connection code:

import Vue from 'vue';

var app = new Vue({
    el: '#app',
    data: {...},
    mounted: {...},
    methods: {...}
});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WapSter, 2022-02-09
@wapster92

You have vue 3 installed, and the code for vue 2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question