Ekapp/skolehjem/resources/js/app.js

45 lines
1.3 KiB
JavaScript
Raw Normal View History

2020-06-09 06:24:20 +00:00
/**
* First we will load all of this project's JavaScript dependencies which
* includes Vue and other libraries. It is a great starting point when
* building robust, powerful web applications using Vue and Laravel.
*/
2020-06-15 06:56:21 +00:00
//Bootstrap
2020-06-08 08:04:45 +00:00
require('./bootstrap');
2020-06-15 06:56:21 +00:00
//Dependencies
require('./date');
2020-06-09 06:24:20 +00:00
2020-06-15 06:56:21 +00:00
//Webapp hamburger menu
require('./navmenu/menu');
//Sites
require('./sites/menuplan');
//Initializer
require('./init');
2020-06-09 06:38:05 +00:00
// window.Vue = require('vue');
2020-06-09 06:24:20 +00:00
/**
* The following block of code may be used to automatically register your
* Vue components. It will recursively scan this directory for the Vue
* components and automatically register them with their "basename".
*
* Eg. ./components/ExampleComponent.vue -> <example-component></example-component>
*/
// const files = require.context('./', true, /\.vue$/i)
// files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default))
2020-06-09 06:38:05 +00:00
// Vue.component('example-component', require('./components/ExampleComponent.vue').default);
2020-06-09 06:24:20 +00:00
/**
* Next, we will create a fresh Vue application instance and attach it to
* the page. Then, you may begin adding components to this application
* or customize the JavaScript scaffolding to fit your unique needs.
*/
2020-06-09 06:38:05 +00:00
// const app = new Vue({
// el: '#app',
// });