parent
c8c960ebfc
commit
160b1a0b1f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,17 +1,12 @@
|
||||
//import 'babel-polyfill';
|
||||
|
||||
// import jQuery from 'jquery';
|
||||
//
|
||||
// window.$ = window.jQuery = jQuery;
|
||||
|
||||
//import vue from 'vue';
|
||||
//import Tasks from './components/Tasks.vue';
|
||||
import jQuery from 'jquery';
|
||||
import vue from 'vue';
|
||||
import Tasks from './components/Tasks.vue';
|
||||
|
||||
import main from '../sass/app.scss';
|
||||
|
||||
window.$ = window.jQuery = jQuery;
|
||||
|
||||
|
||||
// const app = new vue({
|
||||
// el: '#app',
|
||||
// components: {Tasks}
|
||||
// });
|
||||
const app = new vue({
|
||||
el: '#app',
|
||||
components: {Tasks}
|
||||
});
|
||||
@ -1,20 +1,21 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ app()->getLocale() }}">
|
||||
<head>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
|
||||
<title>Laravel Todo Application</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container" id="app">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container" id="app">
|
||||
<Tasks></Tasks>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="{{ asset('js/app.js') }}"></script>
|
||||
<script src="{{ asset('js/jquery.js') }}"></script>
|
||||
<script src="{{ asset('js/polyfill.js') }}"></script>
|
||||
</body>
|
||||
<script src="{{ asset('js/polyfill.js') }}"></script>
|
||||
<script src="{{ asset('js/jquery.js') }}"></script>
|
||||
<script src="{{ asset('js/vue.js') }}"></script>
|
||||
<script src="{{ asset('js/app.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in new issue