1
0
forked from x/icebergs
This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-06-08 22:56:17 +08:00
parent 3b2a741fdb
commit 0c1a0a2f06
3 changed files with 18 additions and 18 deletions

View File

@ -4,9 +4,7 @@ refer `
官网 https://nodejs.org/ 官网 https://nodejs.org/
源码 https://github.com/nodejs/node 源码 https://github.com/nodejs/node
文档 https://nodejs.org/dist/latest-v18.x/docs/api/ 文档 https://nodejs.org/dist/latest-v18.x/docs/api/
文档 https://cloud.tencent.com/developer/section/1489885
` `
field web.code.node.node field web.code.node.node
shell linux ` shell linux `

View File

@ -20,21 +20,29 @@ func (s vue) Render(m *ice.Message, arg ...string) {
} }
func (s vue) Init(m *ice.Message) { func (s vue) Init(m *ice.Message) {
s.Lang.Init(m, code.PREPARE, ice.Map{ s.Lang.Init(m, code.PREPARE, ice.Map{
"regexp": kit.Dict(
"^el-[a-z0-9_]+$", code.KEYWORD,
),
code.KEYWORD: kit.List( code.KEYWORD: kit.List(
"template", "script", "style", "template", "script", "style",
"component", "slot", "component", "slot",
"router-link", "router-view", "router-link", "router-view",
"el-container", "el-aside", "el-header", "el-main", "el-container", "el-aside", "el-header", "el-main",
"el-dialog", "el-dialog",
"el-drawer",
"el-icon", "el-avatar", "el-icon", "el-avatar",
"el-dropdown", "el-dropdown-menu", "el-dropdown-item",
"el-menu", "el-sub-menu", "el-menu-item", "el-menu", "el-sub-menu", "el-menu-item",
"el-table", "el-table-column", "el-pagination", "el-table", "el-table-column", "el-pagination",
"el-row", "el-col",
"el-breadcrumb", "el-breadcrumb-item",
"el-tabs", "el-tab-pane", "el-tabs", "el-tab-pane",
"el-form", "el-form-item", "el-form", "el-form-item",
"el-switch",
"el-input", "el-input",
"el-select", "el-select",
"el-option", "el-option",

View File

@ -12,6 +12,13 @@ vue serve
vue build vue build
` `
section "docs"
refer `
文档 https://cloud.tencent.com/developer/section/1489885
文档 https://developer.mozilla.org/zh-CN/docs/Web/CSS/CSS_Flexible_Box_Layout/Basic_Concepts_of_Flexbox
文档 https://vueuse.org/shared/useToggle/
`
section "grpc" section "grpc"
shell ` shell `
cnpm install -D grpc-web cnpm install -D grpc-web
@ -27,7 +34,6 @@ refer `
文档 https://www.axios-http.cn/docs/intro 文档 https://www.axios-http.cn/docs/intro
源码 https://github.com/axios/axios 源码 https://github.com/axios/axios
` `
shell ` shell `
npm install axios npm install axios
` `
@ -37,22 +43,10 @@ refer `
https://router.vuejs.org/zh/guide/essentials/nested-routes.html https://router.vuejs.org/zh/guide/essentials/nested-routes.html
` `
section "element" section "element-plus"
refer ` refer `
https://element.eleme.cn/2.0/#/zh-CN/component/installation https://element-plus.org/zh-CN/guide/quickstart.html
` `
shell `
npm install element-ui
npm install @vueuse/core
`
field inner `
// main.js
import ElementUI from "element-ui"
Vue.use(ElementUI)
`
shell ` shell `
npm install element-plus npm install element-plus
npm install @vueuse/core npm install @vueuse/core