Slim down examples.
This commit is contained in:
parent
7bb44a2542
commit
eedac025eb
|
@ -14,6 +14,7 @@
|
||||||
"jquery": "^2.2.4",
|
"jquery": "^2.2.4",
|
||||||
"js-cookie": "^2.1.2",
|
"js-cookie": "^2.1.2",
|
||||||
"laravel-elixir-vue": "^0.1.4",
|
"laravel-elixir-vue": "^0.1.4",
|
||||||
|
"lodash": "^4.14.0",
|
||||||
"vue": "^1.0.26",
|
"vue": "^1.0.26",
|
||||||
"vue-resource": "^0.9.3"
|
"vue-resource": "^0.9.3"
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -13,12 +13,6 @@ require('./bootstrap');
|
||||||
* the application, or feel free to tweak this setup for your needs.
|
* the application, or feel free to tweak this setup for your needs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
Vue.component('example', require('./components/Example.vue'));
|
|
||||||
|
|
||||||
var app = new Vue({
|
var app = new Vue({
|
||||||
el: 'body',
|
el: 'body'
|
||||||
|
|
||||||
ready() {
|
|
||||||
console.log('Application ready.');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
|
||||||
|
window._ = require('lodash');
|
||||||
window.Cookies = require('js-cookie');
|
window.Cookies = require('js-cookie');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
<template>
|
|
||||||
<div>
|
|
||||||
<h1>Example Component</h1>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
ready() {
|
|
||||||
console.log('Component ready.')
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
Loading…
Reference in New Issue