Skip to content

Commit

Permalink
Switch to botman-tinker
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Jan 29, 2018
1 parent 51784dd commit 78a547a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 157 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
"laravel-mix": "0.*",
"lodash": "^4.17.4",
"vue": "^2.1.10"
},
"dependencies": {
"botman-tinker": "^0.0.1"
}
}
16 changes: 11 additions & 5 deletions public/js/app.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion resources/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ window.Vue = require('vue');
* or customize the JavaScript scaffolding to fit your unique needs.
*/

Vue.component('botman-tinker', require('./components/BotManTinker.vue'));
import {TinkerComponent} from 'botman-tinker';
Vue.component('botman-tinker', TinkerComponent);

const app = new Vue({
el: '#app'
Expand Down
150 changes: 0 additions & 150 deletions resources/assets/js/components/BotManTinker.vue

This file was deleted.

2 changes: 1 addition & 1 deletion resources/views/tinker.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<body>
<div class="container">
<div class="content" id="app">
<botman-tinker></botman-tinker>
<botman-tinker api-endpoint="/botman"></botman-tinker>
</div>
</div>

Expand Down

0 comments on commit 78a547a

Please sign in to comment.