Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove plugin notification #1394

Merged
merged 1 commit into from
Mar 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/@vuepress/plugin-notification/.npmignore

This file was deleted.

5 changes: 0 additions & 5 deletions packages/@vuepress/plugin-notification/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions packages/@vuepress/plugin-notification/enhanceAppFile.js

This file was deleted.

5 changes: 0 additions & 5 deletions packages/@vuepress/plugin-notification/index.js

This file was deleted.

Empty file.
29 changes: 0 additions & 29 deletions packages/@vuepress/plugin-notification/package.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/docs/docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ module.exports = ctx => ({
updatePopup: true
}],
['@vuepress/medium-zoom', true],
['@vuepress/notification', true],
['@vuepress/google-analytics', {
ga: 'UA-128189152-1'
}],
Expand Down
13 changes: 6 additions & 7 deletions packages/docs/docs/.vuepress/enhanceApp.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
export default ({
Vue, // the version of Vue being used in the VuePress app
options, // the options for the root Vue instance
router, // the router instance for the app
siteData // site metadata
}) => {
// ...apply enhancements to the app
export default ({ Vue, isServer }) => {
if (!isServer) {
import('vue-toasted' /* webpackChunkName: "notification" */).then((module) => {
Vue.use(module.default)
})
}
}
4 changes: 2 additions & 2 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.42",
"@vuepress/plugin-i18n-ui": "^1.0.0-alpha.42",
"@vuepress/plugin-medium-zoom": "^1.0.0-alpha.42",
"@vuepress/plugin-notification": "^1.0.0-alpha.42",
"@vuepress/plugin-pwa": "^1.0.0-alpha.42",
"@vuepress/theme-vue": "^1.0.0-alpha.42",
"vuepress": "^1.0.0-alpha.42",
"vuepress-plugin-flowchart": "^1.4.2"
"vuepress-plugin-flowchart": "^1.4.2",
"vue-toasted": "^1.1.25"
}
}