# nuxt2-template **Repository Path**: guxiangyuan/nuxt2-template ## Basic Information - **Project Name**: nuxt2-template - **Description**: nuxt2 +vue2项目模版 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2022-11-18 - **Last Updated**: 2025-02-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Nuxt H5移动端工程项目 - 1.vant UI 按需加载 - 2.eslint检测 - 3.打包自动移除console - 4.px转rem - 5.多环境配置(开发,测试,正式) - 6.页面,store demo展示 - 7.axios再封装 ## 安装依赖 ```$xslt $ yarn install 或 $ yarn pre ``` 服务开启,端口号:3001 ## 启动命令 ```$xslt 开发环境 $ yarn run dev 预发布环境 $ yarn run dev:release 正式环境 $ yarn run dev:production ``` ## 构建命令 ```$xslt 开发环境 $ yarn run build 预发布环境 $ yarn run build:release 正式环境 $ yarn run build:production ``` ## 运行命令 ```$xslt 开发环境 $ yarn run start 预发布环境 $ yarn run start:release 正式环境 $ yarn run start:production ``` ## 输出静态项目 $ yarn run generate