This commit is contained in:
huanqing.shao
2019-10-04 08:03:51 +08:00
parent b369a8ce7d
commit 60005dd558
9 changed files with 119 additions and 24 deletions

View File

@ -2,6 +2,8 @@
import 'element-ui/lib/theme-chalk/index.css'
import Element from 'element-ui'
import VueFractionGrid from 'vue-fraction-grid'
export default ({
Vue, // VuePress 正在使用的 Vue 构造函数
@ -10,4 +12,11 @@ export default ({
siteData // 站点元数据
}) => {
Vue.use(Element)
Vue.use(VueFractionGrid, {
approach: 'desktop-first',
breakpoints: {
compact: '719px',
tablet: '719px 959px'
}
})
}