Commit eedac025 authored by Taylor Otwell's avatar Taylor Otwell

Slim down examples.

parent 7bb44a25
...@@ -14,6 +14,7 @@ ...@@ -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"
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -13,12 +13,6 @@ require('./bootstrap'); ...@@ -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.');
}
}); });
window._ = require('lodash');
window.Cookies = require('js-cookie'); window.Cookies = require('js-cookie');
/** /**
......
<template>
<div>
<h1>Example Component</h1>
</div>
</template>
<script>
export default {
ready() {
console.log('Component ready.')
}
}
</script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment