initial commit

This commit is contained in:
simple321vip
2022-04-03 23:43:45 +08:00
commit ef1c97251d
42 changed files with 2628 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# Vue 3 + Typescript + Vite + pinia + vue-router
# Create 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
// 2.选择vue
// 3.vue.ts
cd g-home
npm install
# vue-router
npm install vue-router -S
# pinia
// instand of vuex
npm install pinia -S