添加设置功能
This commit is contained in:
@ -30,6 +30,7 @@ import {
|
||||
} from '@fortawesome/free-regular-svg-icons'
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
||||
import hljs from 'highlight.js'
|
||||
import { Loading } from 'element-ui'
|
||||
import Swiper from '../components/Swiper'
|
||||
import Slide from '../components/Slide'
|
||||
|
||||
@ -61,6 +62,7 @@ library.add(
|
||||
Vue.component('Icon', FontAwesomeIcon)
|
||||
Vue.component('Swiper', Vue.extend(Swiper))
|
||||
Vue.component('Slide', Vue.extend(Slide))
|
||||
Vue.use(Loading.directive)
|
||||
|
||||
export default function (ctx, inject) {
|
||||
inject('getHatValue', (count, hotConst = 1000) => {
|
||||
|
Reference in New Issue
Block a user