# user-center-vue **Repository Path**: stormlong/user-center-vue ## Basic Information - **Project Name**: user-center-vue - **Description**: vuecli vue3 ant-design-vue eslint - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-25 - **Last Updated**: 2024-12-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # user-center-vue ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ## 环境变量文件 .env.development .env.production .env.test ## 命名规则 必须以 VUE*APP* 开头 ## 使用变量 process.env.VUE_APP_XXX ## 默认变量 开发环境:npm run serve(本地启动,监听端口、自动更新),NODE_ENV == development 线上环境:npm run build(项目构建打包),NODE_ENV == production NODE_ENV 值为 development production test BASE_URL 值为 publicPath 的值,默认为 / ## 实际运行 - npm run serve 会加载 .env.development - npm run build 会加载 .env.production # 文档链接 https://mp.weixin.qq.com/s/miHdIYcUVaFuwV6AfwjoIg # 注意 新建的文件在 vscode 中右下角选择 LF 行尾序列