# Travel **Repository Path**: dzxmy/Travel ## Basic Information - **Project Name**: Travel - **Description**: 仿去哪网项目 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-03-24 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 仿去哪儿网vue项目 ![输入图片说明](https://gitee.com/uploads/images/2019/0506/105400_0411954e_1677589.png "屏幕截图.png") ![输入图片说明](https://gitee.com/uploads/images/2019/0506/105426_5375482c_1677589.png "屏幕截图.png") ## Build Setup 构建步骤 1.下载安装nodejs https://nodejs.org/en/ 2.安装vue-cli npm install --global vue-cli 3.安装cnpm镜像源,替换原生的npm,加快访问速度 npm install -g cnpm --registry=https://registry.npm.taobao.org 打开到git clone 下来的项目目录中 4.安装依赖 npm install 5.构建项目 build for production with minification npm run build 6.启动项目 serve with hot reload at localhost:8080 npm run dev # build for production and view the bundle analyzer report npm run build --report ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).