You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
guoapeng 8e5a22212c feat: init 2 weeks ago
public feat: init 2 weeks ago
server feat: init 2 weeks ago
src feat: init 2 weeks ago
.env.dev feat: init 2 weeks ago
.env.pre feat: init 2 weeks ago
.env.prod feat: init 2 weeks ago
.env.test feat: init 2 weeks ago
.gitignore feat: init 2 weeks ago
.npmrc feat: init 2 weeks ago
.postcssrc.js feat: init 2 weeks ago
.prettierrc feat: init 2 weeks ago
README.md feat: init 2 weeks ago
commitlint.config.js feat: init 2 weeks ago
eslint.config.js feat: init 2 weeks ago
increment-version.js feat: init 2 weeks ago
index.html feat: init 2 weeks ago
package.json feat: init 2 weeks ago
tsconfig.json feat: init 2 weeks ago
vite.config.ts feat: init 2 weeks ago

README.md

前端项目模板

文件目录
  • src
    • components 组件目录
    • apis 接口文件目录
    • assets 静态资源目录
    • hooks hooks目录
    • libs 公共工具类
    • router 页面路由
    • stores 项目公共状态管理
    • types 类型申明
    • views 页面目录
项目运行

项目采用pnpm 进行依赖构建,请先安装pnpm pnpm - 速度快、节省磁盘空间的软件包管理器

  npm install pnpm -g
  pnpm install // 安装依赖
  pnpm dev // 运行项目