# vue-multiple-page vue多页面应用 **Repository Path**: moaijun/vue-multiple-page ## Basic Information - **Project Name**: vue-multiple-page vue多页面应用 - **Description**: 使用@vue/cli4.0.5搭建的一套vue多页面应用模板 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2020-06-10 - **Last Updated**: 2023-06-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-multiple-page #### 项目介绍 此项目使用vue(2.6.11)、@vue/cli(4.0.5)以及webpack搭建的基础版多页面应用,使用前请确保本地全局安装 [Node.js](http://nodejs.cn/)。 #### Project setup ``` npm install or yarn install ``` #### Compiles and hot-reloads for development ``` npm run serve or yarn serve ``` #### Compiles and minifies for production ``` npm run build or yarn build ``` #### Lints and fixes files ``` npm run lint or yarn lint ``` #### 自定义配置 See [VUE配置参考](https://cli.vuejs.org/config/). #### 目录架构 ``` ├── dist 打包后目录,运行 npm run build 指令后生成 ├── node_modules 运行 npm install 后生成 └── public 打包所需静态资源 └── favicon.ico 浏览器图标 └── src └── assets 项目静态资源 ├── logo.png ├── components 业务组件 ├── pages 页面文件 ├── index 默认页面 └── index.html index模板文件 └── index.js index页面入口(相当于 2.0 的 main.js) └── index.vue index页面组件 ├── home home页面 └── home.html home模板文件 └── home.js home页面入口 └── home.vue home页面组件 └── about about页面 └── about.html about模板文件 └── about.js about页面入口 └── about.vue about页面组件 ├── util 配置放置目录 └── request.js 请求封装 └── index.js 多页面 模板 配置文件 ├── .gitignore Git提交时忽略配置 ├── babel.config.js babel配置文件 ├── package-lock.json ├── package.json ├── README.md └── vue.config.js vue配置文件 ```