Error of a Vue project with Laravel

2

The first error is saying that it is in this file named main.js , and I did not find any error in this file;

import Vue from 'vue'
import app from './app'

require('./bootstrap');


new Vue(app).$mount('#app');

This is the error:

The error numbers are so large that I had to put it in the repository because it did not fit here

My repository

I need to see each one of them.

    
asked by anonymous 28.09.2017 / 14:06

1 answer

1

As I mentioned the answer, for you to solve your mistakes, start by taking out all the ; you own. Ex:

import Vue from 'vue'
import app from './app'

require('./bootstrap')

new Vue(app).$mount('#app')

And do this in all the files you put ;

Here has an example of settings for ESLint

To disable its use in a specific file (ex: Bootstrap ), you can put this at the beginning of the /* eslint-disable */ file.

Other additional settings you can see on the site above.

    
28.09.2017 / 14:27