-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
11,354 additions
and
8,111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import ElementUI from "element-ui"; | ||
import "element-ui/lib/theme-chalk/index.css"; | ||
|
||
export default ({ | ||
Vue, // VuePress 正在使用的 Vue 构造函数 | ||
options, // 附加到根实例的一些选项 | ||
router, // 当前应用的路由实例 | ||
siteData // 站点元数据 | ||
}) => { | ||
try { | ||
// 使用element-ui | ||
Vue.use(ElementUI); | ||
|
||
// document && integrateGitalk(router); | ||
} catch (e) { | ||
console.error(e.message); | ||
} | ||
}; |
Oops, something went wrong.