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 211e02064c fix:debug信息重复 5 months ago
public init 5 months ago
src fix:debug信息重复 5 months ago
.env.dev fix:状态添加 5 months ago
.env.prod fix:状态添加 5 months ago
.env.test fix:状态添加 5 months ago
.eslintrc-auto-import.json fix:状态添加 5 months ago
.gitignore init 5 months ago
.npmrc init 5 months ago
.postcssrc.js init 5 months ago
.prettierrc init 5 months ago
README.md init 5 months ago
auto-imports.d.ts fix:状态添加 5 months ago
commitlint.config.js init 5 months ago
dist.zip 页面增删改查 5 months ago
eslint.config.js init 5 months ago
index.html init 5 months ago
package.json init 5 months ago
pnpm-lock.yaml init 5 months ago
tsconfig.json init 5 months ago
vite.config.ts init 5 months 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 // 运行项目