# nuxt2-template **Repository Path**: heliufang/nuxt2-template ## Basic Information - **Project Name**: nuxt2-template - **Description**: nuxt2自用模板项目 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-08-08 - **Last Updated**: 2025-09-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Nuxt2模板项目 ## 安装 ```shell npm i --force ``` ## 启动 ```shell npm run dev ``` ## 部署 + 打包 ```shell npm run build:stage #测试 npm run build:prod #正式 ``` + 拷贝除了node_modules的所有文件到服务器对应的位置 + 启动项目(进入项目根目录,执行下面的命令) ```shell pm2 start ecosystem.staging.config.js #测试 pm2 start ecosystem.prod.config.js #正式 ``` ## 开发文档 [nuxt2文档](https://v2.nuxt.com/docs/get-started/installation/) [elementui文档](https://element.eleme.cn/#/zh-CN/component/menu)