Move HighlightJS dep to Hook
This commit is contained in:
parent
ed9d16e126
commit
ac2628174d
2 changed files with 5 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue