1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
icebergs/misc/node/vue.shy
2023-06-08 22:56:17 +08:00

60 lines
1.2 KiB
Plaintext

section "vue"
refer `
官网 https://vuejs.org/
源码 https://github.com/vuejs/vue
入门 https://vuejs.org/guide/quick-start.html
`
shell `
cnpm install -g @vue/cli
vue create demo && cd demo
vue serve
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"
shell `
cnpm install -D grpc-web
cnpm install -D google-protobuf
cnpm install -g protoc-gen-js
cnpm install -g protoc-gen-grpc-web
protoc --js_out=import_style=commonjs:./demo/src --grpc-web_out=import_style=commonjs,mode=grpcwebtext:./demo/src ./idl/*.proto
`
section "axios"
refer `
官网 https://www.axios-http.cn
文档 https://www.axios-http.cn/docs/intro
源码 https://github.com/axios/axios
`
shell `
npm install axios
`
section "router"
refer `
https://router.vuejs.org/zh/guide/essentials/nested-routes.html
`
section "element-plus"
refer `
https://element-plus.org/zh-CN/guide/quickstart.html
`
shell `
npm install element-plus
npm install @vueuse/core
`
field inner `
<html lang="" class="dark">
`
field inner `
import 'element-plus/theme-chalk/dark/css-vars.css'
`