Re-enable hightlightjs

This commit is contained in:
Oliver Davies 2019-04-12 07:37:12 +01:00
parent cf4524a2a6
commit ed72068fa1
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
import Navbar from './components/Navbar'
import Vue from 'vue'
window.hljs = require('highlightjs')
new Vue({
el: '#app',
components: { Navbar }

View file

@ -7,7 +7,7 @@ mix.disableNotifications()
require('postcss-nested'),
require('tailwindcss')('tailwind.config.js'),
])
.extract(['vue'])
.extract(['highlightjs', 'vue'])
.js('resources/js/app.js', 'source/dist/js')
.browserSync({
proxy: 'localhost:8000',