Move HighlightJS dep to Hook

This commit is contained in:
Kristian Polso 2018-05-07 12:04:54 +03:00
parent ed9d16e126
commit ac2628174d
2 changed files with 5 additions and 2 deletions

View file

@ -43,8 +43,13 @@
<script>
import Vue from 'vue'
import VueHighlightJS from 'vue-highlightjs'
import EventBus from '../event-bus';
Vue.use(VueHighlightJS)
export default {
data () {
return {

View file

@ -137,10 +137,8 @@
import Vue from 'vue'
import VueResource from 'vue-resource'
import VueHighlightJS from 'vue-highlightjs'
Vue.use(VueResource)
Vue.use(VueHighlightJS)
export default {
data () {