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.
zcx
bae60b8152
|
6 months ago | |
---|---|---|
.. | ||
build | 6 months ago | |
public | 6 months ago | |
src | 6 months ago | |
types | 6 months ago | |
.eslintignore | 6 months ago | |
.eslintrc.js | 6 months ago | |
.gitignore | 6 months ago | |
.stylelintignore | 6 months ago | |
README.md | 6 months ago | |
index.html | 6 months ago | |
package-lock.json | 6 months ago | |
package.json | 6 months ago | |
postcss.config.js | 6 months ago | |
prettier.config.js | 6 months ago | |
stylelint.config.js | 6 months ago | |
tsconfig.json | 6 months ago | |
vite.config.ts | 6 months ago | |
yarn.lock | 6 months 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