From f0e799c970311d7db4d4c23795cad0a2a783e059 Mon Sep 17 00:00:00 2001 From: shylinux Date: Sat, 3 Jun 2023 17:07:19 +0800 Subject: [PATCH] add some --- misc/node/element.shy | 5 +++++ misc/node/node.go | 2 +- misc/node/node.shy | 7 +++++-- misc/node/npm.go | 2 +- misc/node/router.shy | 4 ++++ misc/node/vue.go | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 misc/node/element.shy create mode 100644 misc/node/router.shy diff --git a/misc/node/element.shy b/misc/node/element.shy new file mode 100644 index 00000000..7a5f4f65 --- /dev/null +++ b/misc/node/element.shy @@ -0,0 +1,5 @@ +section "element" +refer ` +https://element.eleme.cn/2.0/#/zh-CN/component/installation +` + diff --git a/misc/node/node.go b/misc/node/node.go index b1eab48f..631d3f0d 100644 --- a/misc/node/node.go +++ b/misc/node/node.go @@ -17,7 +17,7 @@ type node struct { regexp string `data:"js"` darwin string `data:"https://mirrors.tencent.com/nodejs-release/v16.15.1/node-v16.15.1-darwin-x64.tar.gz"` linux string `data:"https://mirrors.tencent.com/nodejs-release/v16.15.1/node-v16.15.1-linux-x64.tar.xz"` - list string `name:"list path auto listScript xterm order install" help:"node"` + list string `name:"list path auto listScript xterm order install" help:"运行时"` } func (s node) Init(m *ice.Message) { diff --git a/misc/node/node.shy b/misc/node/node.shy index 47fb0d3a..688e67d0 100644 --- a/misc/node/node.shy +++ b/misc/node/node.shy @@ -3,7 +3,7 @@ section "node" refer ` 官网 https://nodejs.org/ 源码 https://github.com/nodejs/node -文档 https://nodejs.org/docs/latest-v6.x/api/ +文档 https://nodejs.org/dist/latest-v18.x/docs/api/ ` field web.code.node.node @@ -21,9 +21,12 @@ http://mirrors.tencent.com/nodejs-release/v16.15.1/node-v16.15.1-x64.msi shell ` ./bin/node ` +field web.code.xterm args "node" auto delay height 240 source npm.shy source vue.shy source grpc.shy -source admin.shy +source router.shy +source element.shy source vscode.shy +source admin.shy diff --git a/misc/node/npm.go b/misc/node/npm.go index 034d2e13..a58739c2 100644 --- a/misc/node/npm.go +++ b/misc/node/npm.go @@ -10,7 +10,7 @@ const NPM = "npm" type npm struct { ice.Code - list string `name:"list path auto" help:"npm"` + list string `name:"list path auto" help:"依赖库"` } func (s npm) Init(m *ice.Message) { diff --git a/misc/node/router.shy b/misc/node/router.shy new file mode 100644 index 00000000..c97ff625 --- /dev/null +++ b/misc/node/router.shy @@ -0,0 +1,4 @@ +section "router" +refer ` +https://router.vuejs.org/zh/guide/essentials/nested-routes.html +` diff --git a/misc/node/vue.go b/misc/node/vue.go index 549ecb4c..2341cc0b 100644 --- a/misc/node/vue.go +++ b/misc/node/vue.go @@ -7,7 +7,7 @@ import ( type vue struct { ice.Code - list string `name:"list path auto" help:"vue"` + list string `name:"list path auto" help:"框架"` } func (s vue) List(m *ice.Message) {