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>
|
<script>
|
||||||
|
|
||||||
|
import Vue from 'vue'
|
||||||
|
import VueHighlightJS from 'vue-highlightjs'
|
||||||
|
|
||||||
import EventBus from '../event-bus';
|
import EventBus from '../event-bus';
|
||||||
|
|
||||||
|
Vue.use(VueHighlightJS)
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -137,10 +137,8 @@
|
||||||
|
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import VueResource from 'vue-resource'
|
import VueResource from 'vue-resource'
|
||||||
import VueHighlightJS from 'vue-highlightjs'
|
|
||||||
|
|
||||||
Vue.use(VueResource)
|
Vue.use(VueResource)
|
||||||
Vue.use(VueHighlightJS)
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
|
|
Loading…
Reference in a new issue