-
yarn init vite 创建vite项目 yarn install 安装依赖 yarn dev 启动项目
-
yarn add pinia -S 安装pinia,基于vuex的状态管理工具 创建 src/store 使用pinia
-
yarn -i vue-router -S 安装router 创建 src/router
-
yarn add @vueuse/core -S 安装api插件 yarn add axios -S 安装axios 创建 src/api
创建 api 文件,存放请求接口
-
启动 yarn yarn dev
-
Notifications
You must be signed in to change notification settings - Fork 0
ldxy-arthas/vue3-vite-ts-pinia-env
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published