linux-tutorial/docs/.vuepress/enhanceApp.js

8 lines
184 B
JavaScript
Raw Permalink Normal View History

2020-02-10 23:11:22 +08:00
export default ({ Vue, isServer }) => {
if (!isServer) {
import('vue-toasted' /* webpackChunkName: "notification" */).then(module => {
Vue.use(module.default)
})
}
}