I want to use vue in my laravel project it does not working i installed npm install which was vue and vue-template also installed. this is my index.blade.php.
@extends('layouts.app')
@section('content')
<div id="app">
<p> {{ product }} </p>
</div>
@endsection
@section('scripts')
<script>
var app = new Vue({
el: '#app',
data:{ product: 'car' } })
</script>
@endsection
this is my package.json file.
"devDependencies": {
"axios": "^0.18",
"bootstrap": "^4.0.0",
"cross-env": "^5.1",
"jquery": "^3.2",
"laravel-mix": "^4.0.7",
"lodash": "^4.17.5",
"popper.js": "^1.12",
"resolve-url-loader": "^2.3.1",
"sass": "^1.15.2",
"sass-loader": "^7.1.0",
"vue": "2.6.4",
"vue-template-compiler": "2.6.4"
}
resources/assets/app.js