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.
|
|
2 years ago | |
|---|---|---|
| .. | ||
| build | 2 years ago | |
| public | 2 years ago | |
| src | 2 years ago | |
| types | 2 years ago | |
| .eslintignore | 2 years ago | |
| .eslintrc.js | 2 years ago | |
| .gitignore | 2 years ago | |
| .stylelintignore | 2 years ago | |
| README.md | 2 years ago | |
| index.html | 2 years ago | |
| package-lock.json | 2 years ago | |
| package.json | 2 years ago | |
| postcss.config.js | 2 years ago | |
| prettier.config.js | 2 years ago | |
| stylelint.config.js | 2 years ago | |
| tsconfig.json | 2 years ago | |
| vite.config.ts | 2 years ago | |
| yarn.lock | 2 years ago | |
README.md
学习文档
部署步骤
- 修改constants.ts中的BASE_URL
- vite build
- 将dist部署到nginx
配置解释
- env.development 开发环境配置
- eslintrc.js 代码规范化提示
- vite.config.js vite 开发服务器配置
常见问题
变量
https://blog.csdn.net/qq_41636947/article/details/117907448
antd的css引入方式
在index.html里面引入的cdn
cdn
https://cdn.jsdelivr.net/npm/ant-design-vue@3.2.20/dist/ https://cdn.staticfile.org/ant-design-vue/3.2.20/antd.min.css