Skip to content

Commit 79632c0

Browse files
committed
feat: plugin-notification
1 parent 20fbe4f commit 79632c0

File tree

7 files changed

+48
-0
lines changed

7 files changed

+48
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
__tests__
2+
__mocks__
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @vuepress/plugin-notification
2+
3+
> notification plugin for vuepress
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import './index.styl'
2+
import Toasted from 'vue-toasted'
3+
4+
export default ({ Vue }) => {
5+
Vue.use(Toasted)
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const path = require('path')
2+
3+
module.exports = {
4+
enhanceAppFiles: path.resolve(__dirname, './client.js')
5+
}

packages/@vuepress/plugin-notification/index.styl

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "@vuepress/plugin-notification",
3+
"version": "1.0.0-alpha.4",
4+
"description": "notification plugin for vuepress",
5+
"main": "index.js",
6+
"publishConfig": {
7+
"access": "public"
8+
},
9+
"repository": {
10+
"type": "git",
11+
"url": "git+https://github.com/vuejs/vuepress.git"
12+
},
13+
"keywords": [
14+
"documentation",
15+
"vue",
16+
"vuepress",
17+
"generator"
18+
],
19+
"dependencies": {
20+
"vue-toasted": "^1.1.25"
21+
},
22+
"author": "ULIVZ <chl814@foxmail.com>",
23+
"license": "MIT",
24+
"bugs": {
25+
"url": "https://github.com/vuejs/vuepress/issues"
26+
},
27+
"homepage": "https://github.com/vuejs/vuepress/packages/@vuepress/plugin-notification#readme"
28+
}

yarn.lock

+4
Original file line numberDiff line numberDiff line change
@@ -9120,6 +9120,10 @@ vue-template-es2015-compiler@^1.6.0:
91209120
version "1.6.0"
91219121
resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18"
91229122

9123+
vue-toasted@^1.1.25:
9124+
version "1.1.25"
9125+
resolved "https://registry.yarnpkg.com/vue-toasted/-/vue-toasted-1.1.25.tgz#27b1f40866d98f8bf817722869f3d97f7c0d4db1"
9126+
91239127
vue@^2.5.16:
91249128
version "2.5.16"
91259129
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.16.tgz#07edb75e8412aaeed871ebafa99f4672584a0085"

0 commit comments

Comments
 (0)