StoryBook 适配 SSR
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
// import 'swiper/dist/css/swiper.css'
|
||||
import 'element-ui/lib/theme-chalk/index.css'
|
||||
|
||||
import Element from 'element-ui'
|
||||
@ -8,5 +9,5 @@ export default ({
|
||||
router, // 当前应用的路由实例
|
||||
siteData // 站点元数据
|
||||
}) => {
|
||||
Vue.use(Element)
|
||||
Vue.use(Element)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user