chore: add alert plugin for docs; 🌟
This commit is contained in:
13
docs/.vuepress/plugins/alert/index.js
Normal file
13
docs/.vuepress/plugins/alert/index.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const path = require('path')
|
||||
|
||||
module.exports = (options, ctx) => {
|
||||
return {
|
||||
clientRootMixin: path.resolve(__dirname, 'clientRootMixin.js'),
|
||||
extendPageData($page) {
|
||||
$page.alert = {
|
||||
top: 100
|
||||
}
|
||||
},
|
||||
enhanceAppFiles: path.resolve(__dirname, 'enhanceApp.js')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user