to add pinia modules
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
## Vue 3 + Typescript + Vite + pinia + vue-router
|
||||
|
||||
## Create project document how to bulid a project
|
||||
## about creating project document how to bulid a project
|
||||
before create project, you should install node to promit npm and node command is standy.
|
||||
npm -v
|
||||
node -v<br />
|
||||
|
||||
// 在想要创建的工程路径下执行以下命令,3到6秒就可以结束
|
||||
npm init vite@latest
|
||||
// 1.填写 g-home
|
||||
// 1.填写 violin-home
|
||||
// 2.选择vue
|
||||
// 3.vue.ts
|
||||
|
||||
cd g-home
|
||||
cd violin-home
|
||||
npm install
|
||||
|
||||
## vue-router
|
||||
@@ -33,19 +33,19 @@
|
||||
// to enter the home page:
|
||||
localhost:3000/home?tenantId=XXX&account=YYY&token=ABCDEFG
|
||||
|
||||
## 环境配置
|
||||
## profiles
|
||||
添加了.env.development ebv.test .env.production 文件
|
||||
development:
|
||||
开发环境,使用mock,不需要后台联动
|
||||
test:
|
||||
测试环境需要 后台java程序支持,同时需要百度第三方认证。
|
||||
prod:
|
||||
生产环境通过 jenkins cicd进行发布配置。
|
||||
生产环境通过 jenkins 做ci 持续集成 argocd 做cd 持续发布。
|
||||
|
||||
# 云服务器
|
||||
nginx as a veb server, i use the official image to build this app image.
|
||||
# prod server
|
||||
nginx as a web server, i use the official image to build this app image.
|
||||
|
||||
## 发布
|
||||
## publish
|
||||
- npm run build 生成dist 文件夹
|
||||
|
||||
## 百度网盘开放平台
|
||||
|
||||
Reference in New Issue
Block a user