Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project_init #11

Open
goldstine opened this issue May 19, 2023 · 0 comments
Open

Project_init #11

goldstine opened this issue May 19, 2023 · 0 comments

Comments

@goldstine
Copy link
Owner

https://goldstine.github.io/project_init/

vue3+TypeScript项目初始化

一个项目要有统一的规范,需要使用eslint+stylelint+prettier来对代码质量做检测和修复,需要使用husky来做commit拦截,需要使用commitlint来统一提交规范,需要使用preinstall来同一包管理工具

环境准备

node v16.14.2

pnpm 8.0.0
step 1: install pnpm

npm i -g pnpm

step 2: 使用pnpm vite初始化

pnpm create vite

step 3: 进入项目根目录,安装全部依赖 pnpm install;运行程序 pnpm run dev => http://127.0.0.1:5173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant