mirror of
https://github.com/geeeeeeeek/python_jiajiao.git
synced 2024-11-25 16:34:47 +08:00
.. | ||
build | ||
public | ||
src | ||
types | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.stylelintignore | ||
index.html | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
prettier.config.js | ||
README.md | ||
stylelint.config.js | ||
tsconfig.json | ||
vite.config.ts | ||
yarn.lock |
学习文档
部署步骤
- 修改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