NineSunlight-Wu c9be9ddca8 登录 | il y a 2 ans | |
---|---|---|
build | il y a 2 ans | |
plop-templates | il y a 2 ans | |
public | il y a 2 ans | |
src | il y a 2 ans | |
static | il y a 2 ans | |
tests | il y a 2 ans | |
.editorconfig | il y a 2 ans | |
.env.development | il y a 2 ans | |
.env.dotNetTest | il y a 2 ans | |
.env.javaBootDev | il y a 2 ans | |
.env.javaBootRelease | il y a 2 ans | |
.env.javaBootTenantTest | il y a 2 ans | |
.env.javaBootTest | il y a 2 ans | |
.env.javaBootTestDM | il y a 2 ans | |
.env.javaCloudDev | il y a 2 ans | |
.env.javaCloudRelease | il y a 2 ans | |
.env.javaCloudTenantTest | il y a 2 ans | |
.env.javaCloudTest | il y a 2 ans | |
.env.production | il y a 2 ans | |
.env.staging | il y a 2 ans | |
.eslintignore | il y a 2 ans | |
.eslintrc.js | il y a 2 ans | |
.gitignore | il y a 2 ans | |
LICENSE | il y a 2 ans | |
README.md | il y a 2 ans | |
babel.config.js | il y a 2 ans | |
jest.config.js | il y a 2 ans | |
jsconfig.json | il y a 2 ans | |
package-lock.json | il y a 2 ans | |
package.json | il y a 2 ans | |
plopfile.js | il y a 2 ans | |
postcss.config.js | il y a 2 ans | |
vue.config.js | il y a 2 ans |
npm i
# 如果下载速度比较慢,可通过以下方式解决
npm i --registry=https://registry.npm.taobao.org
src/utils/define.js
,修改接口地址
bash
// 开发环境接口配置
const APIURl = 'http://192.168.0.25:30000'
bash
npm run dev
# 构建测试环境,对应.env.staging文件配置
npm run build:staging
# 构建生产环境,对应.env.production文件配置
npm run build
# 预览发布环境效果
npm run preview
# 预览发布环境效果 + 静态资源分析
npm run preview -- --report
# 代码格式检查
npm run lint
# 代码格式检查并自动修复
npm run lint -- --fix
npm ERR! fatal: unable to access 'https://github.com/nhn/raphael.git/': Failed connect to github.com:443; Connection timed out
报错Windows环境下,打开C:\Windows\System32\drivers\etc\host
文件,添加以下内容
52.74.223.119 github.com
参考文档https://hknaruto.blog.csdn.net/article/details/105134485