chore: add alert plugin for docs; 🌟

This commit is contained in:
chenghongxing
2020-07-22 15:59:45 +08:00
parent ad5727eaf5
commit 107d64fb06
9 changed files with 203 additions and 1 deletions

View 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')
}
}