diff --git a/package.json b/package.json
index 7e590115..6d6b0cbb 100644
--- a/package.json
+++ b/package.json
@@ -29,8 +29,10 @@
"naive-ui": "^2.20.2",
"pinia": "^2.0.2",
"qs": "^6.10.1",
+ "vditor": "^3.8.7",
"vue": "^3.2.20",
- "vue-router": "^4.0.11"
+ "vue-router": "^4.0.11",
+ "wangeditor": "^4.7.9"
},
"devDependencies": {
"@commitlint/cli": "^14.1.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 114a34e5..a633f9bc 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -44,6 +44,7 @@ specifiers:
typescript: ^4.4.4
unplugin-icons: ^0.12.18
unplugin-vue-components: ^0.17.1
+ vditor: ^3.8.7
vite: ~2.5.10
vite-plugin-html: ^2.1.1
vite-plugin-windicss: ^1.5.1
@@ -51,6 +52,7 @@ specifiers:
vue-router: ^4.0.11
vue-tsc: ^0.28.10
vueuc: ^0.4.15
+ wangeditor: ^4.7.9
windicss: ^3.2.1
dependencies:
@@ -65,8 +67,10 @@ dependencies:
naive-ui: registry.npmmirror.com/naive-ui/2.20.2_eslint@8.1.0+vue@3.2.20
pinia: registry.npmmirror.com/pinia/2.0.2_typescript@4.4.4+vue@3.2.20
qs: 6.10.1
+ vditor: registry.npmmirror.com/vditor/3.8.7
vue: registry.npmmirror.com/vue/3.2.20
vue-router: registry.nlark.com/vue-router/4.0.11_vue@3.2.20
+ wangeditor: registry.npmmirror.com/wangeditor/4.7.9
devDependencies:
'@commitlint/cli': registry.npmmirror.com/@commitlint/cli/14.1.0
@@ -343,7 +347,7 @@ packages:
/jsonfile/4.0.0:
resolution: {integrity: sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=, tarball: jsonfile/download/jsonfile-4.0.0.tgz}
optionalDependencies:
- graceful-fs: registry.nlark.com/graceful-fs/4.2.8
+ graceful-fs: registry.npmmirror.com/graceful-fs/4.2.8
dev: true
/lodash.map/4.6.0:
@@ -1265,7 +1269,7 @@ packages:
normalize-path: registry.nlark.com/normalize-path/3.0.0
readdirp: registry.nlark.com/readdirp/3.6.0
optionalDependencies:
- fsevents: registry.nlark.com/fsevents/2.3.2
+ fsevents: registry.npmmirror.com/fsevents/2.3.2
dev: true
registry.nlark.com/chroma-js/2.1.2:
@@ -1709,6 +1713,12 @@ packages:
engines: {node: '>=8'}
dev: true
+ registry.nlark.com/diff-match-patch/1.0.5:
+ resolution: {integrity: sha1-q7WE1fEM0Rlt/FWqA3AVkq4/ezc=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/diff-match-patch/download/diff-match-patch-1.0.5.tgz}
+ name: diff-match-patch
+ version: 1.0.5
+ dev: false
+
registry.nlark.com/diff-sequences/26.6.2:
resolution: {integrity: sha1-SLqZFX3hkjQS7tQdtrbUqpynwLE=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/diff-sequences/download/diff-sequences-26.6.2.tgz}
name: diff-sequences
@@ -2312,15 +2322,6 @@ packages:
name: fs.realpath
version: 1.0.0
- registry.nlark.com/fsevents/2.3.2:
- resolution: {integrity: sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/fsevents/download/fsevents-2.3.2.tgz}
- name: fsevents
- version: 2.3.2
- engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
- requiresBuild: true
- dev: true
- optional: true
-
registry.nlark.com/function-bind/1.1.1:
resolution: {integrity: sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/function-bind/download/function-bind-1.1.1.tgz}
name: function-bind
@@ -2965,7 +2966,7 @@ packages:
dependencies:
universalify: registry.nlark.com/universalify/2.0.0
optionalDependencies:
- graceful-fs: registry.nlark.com/graceful-fs/4.2.8
+ graceful-fs: registry.npmmirror.com/graceful-fs/4.2.8
dev: true
registry.nlark.com/jsonparse/1.3.1:
@@ -3784,6 +3785,12 @@ packages:
strip-indent: registry.nlark.com/strip-indent/3.0.0
dev: true
+ registry.nlark.com/regenerator-runtime/0.13.9:
+ resolution: {integrity: sha1-iSV0Kpj/2QgUmI11Zq0wyjsmO1I=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/regenerator-runtime/download/regenerator-runtime-0.13.9.tgz}
+ name: regenerator-runtime
+ version: 0.13.9
+ dev: false
+
registry.nlark.com/regexp.prototype.flags/1.3.1:
resolution: {integrity: sha1-fvNSro0VnnWMDq3Kb4/LTu8HviY=, registry: http://registry.npm.taobao.org/, tarball: https://registry.nlark.com/regexp.prototype.flags/download/regexp.prototype.flags-1.3.1.tgz}
name: regexp.prototype.flags
@@ -4842,6 +4849,25 @@ packages:
engines: {node: '>=6.0.0'}
hasBin: true
+ registry.npmmirror.com/@babel/runtime-corejs3/7.16.0:
+ resolution: {integrity: sha1-WKf7AOaUhQjxL1OjA5k+i24vbHA=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@babel/runtime-corejs3/download/@babel/runtime-corejs3-7.16.0.tgz}
+ name: '@babel/runtime-corejs3'
+ version: 7.16.0
+ engines: {node: '>=6.9.0'}
+ dependencies:
+ core-js-pure: registry.npmmirror.com/core-js-pure/3.19.1
+ regenerator-runtime: registry.nlark.com/regenerator-runtime/0.13.9
+ dev: false
+
+ registry.npmmirror.com/@babel/runtime/7.16.0:
+ resolution: {integrity: sha1-4nuXfy4giLokdIv5m14d7OZOTws=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@babel/runtime/download/@babel/runtime-7.16.0.tgz}
+ name: '@babel/runtime'
+ version: 7.16.0
+ engines: {node: '>=6.9.0'}
+ dependencies:
+ regenerator-runtime: registry.nlark.com/regenerator-runtime/0.13.9
+ dev: false
+
registry.npmmirror.com/@better-scroll/core/2.4.2:
resolution: {integrity: sha1-5pRwAS15kjoYA0w+STFyD7sG6uU=, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@better-scroll/core/download/@better-scroll/core-2.4.2.tgz}
name: '@better-scroll/core'
@@ -5684,6 +5710,13 @@ packages:
through2: registry.nlark.com/through2/4.0.2
dev: true
+ registry.npmmirror.com/core-js-pure/3.19.1:
+ resolution: {integrity: sha1-7f/B/HY0AApVugXpWz8P6Vh6WqQ=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/core-js-pure/download/core-js-pure-3.19.1.tgz}
+ name: core-js-pure
+ version: 3.19.1
+ requiresBuild: true
+ dev: false
+
registry.npmmirror.com/date-fns/2.25.0:
resolution: {integrity: sha1-jFyPHZWL44CamgP0t0LrqJT8VoA=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/date-fns/download/date-fns-2.25.0.tgz}
name: date-fns
@@ -5882,6 +5915,16 @@ packages:
path-exists: registry.nlark.com/path-exists/4.0.0
dev: true
+ registry.npmmirror.com/fsevents/2.3.2:
+ resolution: {integrity: sha1-ilJveLj99GI7cJ4Ll1xSwkwC/Ro=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/fsevents/download/fsevents-2.3.2.tgz}
+ name: fsevents
+ version: 2.3.2
+ engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
+ os: [darwin]
+ requiresBuild: true
+ dev: true
+ optional: true
+
registry.npmmirror.com/gl-matrix/3.4.3:
resolution: {integrity: sha1-/BGR6DIACf1NIOkzlZXGBB3cIsk=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/gl-matrix/download/gl-matrix-3.4.3.tgz}
name: gl-matrix
@@ -5918,6 +5961,13 @@ packages:
once: registry.nlark.com/once/1.4.0
path-is-absolute: registry.nlark.com/path-is-absolute/1.0.1
+ registry.npmmirror.com/graceful-fs/4.2.8:
+ resolution: {integrity: sha1-5BK40z9eAGWTy9PO5t+fLOu+gCo=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/graceful-fs/download/graceful-fs-4.2.8.tgz}
+ name: graceful-fs
+ version: 4.2.8
+ dev: true
+ optional: true
+
registry.npmmirror.com/highlight.js/11.2.0:
resolution: {integrity: sha1-p+O4wf3E8FOLk7LcLd1TpAxqsPA=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/highlight.js/download/highlight.js-11.2.0.tgz}
name: highlight.js
@@ -6295,7 +6345,7 @@ packages:
engines: {node: '>=10.0.0'}
hasBin: true
optionalDependencies:
- fsevents: registry.nlark.com/fsevents/2.3.2
+ fsevents: registry.npmmirror.com/fsevents/2.3.2
dev: true
registry.npmmirror.com/rxjs/6.6.7:
@@ -6533,6 +6583,14 @@ packages:
webpack-virtual-modules: registry.nlark.com/webpack-virtual-modules/0.4.3
dev: true
+ registry.npmmirror.com/vditor/3.8.7:
+ resolution: {integrity: sha1-7qhnZrCS2THKhJeg7zn4a4dk29U=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/vditor/download/vditor-3.8.7.tgz}
+ name: vditor
+ version: 3.8.7
+ dependencies:
+ diff-match-patch: registry.nlark.com/diff-match-patch/1.0.5
+ dev: false
+
registry.npmmirror.com/vite-plugin-html/2.1.1_vite@2.5.10:
resolution: {integrity: sha1-AUtEEmpy1FnNRgvRVoAMIl0STL4=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/vite-plugin-html/download/vite-plugin-html-2.1.1.tgz}
id: registry.npmmirror.com/vite-plugin-html/2.1.1
@@ -6579,7 +6637,7 @@ packages:
resolve: registry.nlark.com/resolve/1.20.0
rollup: registry.npmmirror.com/rollup/2.59.0
optionalDependencies:
- fsevents: registry.nlark.com/fsevents/2.3.2
+ fsevents: registry.npmmirror.com/fsevents/2.3.2
dev: true
registry.npmmirror.com/vooks/0.2.10_vue@3.2.20:
@@ -6824,6 +6882,16 @@ packages:
vue: registry.npmmirror.com/vue/3.2.20
dev: true
+ registry.npmmirror.com/wangeditor/4.7.9:
+ resolution: {integrity: sha1-wJIsAzdznVCoMQ/Kwwt6bOI4tQ0=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/wangeditor/download/wangeditor-4.7.9.tgz}
+ name: wangeditor
+ version: 4.7.9
+ dependencies:
+ '@babel/runtime': registry.npmmirror.com/@babel/runtime/7.16.0
+ '@babel/runtime-corejs3': registry.npmmirror.com/@babel/runtime-corejs3/7.16.0
+ tslib: registry.nlark.com/tslib/2.3.1
+ dev: false
+
registry.npmmirror.com/windicss/3.2.1:
resolution: {integrity: sha1-vQ97nrq7oE6o3+3LsCY8LvlZHbQ=, registry: http://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/windicss/download/windicss-3.2.1.tgz}
name: windicss
diff --git a/src/components/custom/GithubLink/index.vue b/src/components/custom/GithubLink/index.vue
new file mode 100644
index 00000000..9cd58861
--- /dev/null
+++ b/src/components/custom/GithubLink/index.vue
@@ -0,0 +1,18 @@
+
+
+ github地址:
+
+ {{ link }}
+
+