Replace Mix with Encore
This commit is contained in:
parent
95450f2719
commit
5c8daf3054
25 changed files with 1352 additions and 3844 deletions
25
assets/js/app.js
Normal file
25
assets/js/app.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
import '../css/tailwind.css'
|
||||
import Vue from 'vue';
|
||||
|
||||
window.hljs = require('highlightjs')
|
||||
|
||||
new Vue({
|
||||
el: '#app',
|
||||
|
||||
data () {
|
||||
return {
|
||||
isOpen: false
|
||||
}
|
||||
},
|
||||
|
||||
mounted: function () {
|
||||
this.$el.classList.remove('no-js')
|
||||
this.$el.classList.add('js')
|
||||
},
|
||||
|
||||
methods: {
|
||||
toggle () {
|
||||
this.isOpen = !this.isOpen
|
||||
}
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue