# libo-example **Repository Path**: wang885298/libo-example ## Basic Information - **Project Name**: libo-example - **Description**: 荔波页面参考示例 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-01-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # libo-project > example for libo ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report # run unit tests npm run unit # run all tests npm test ``` 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). ## 目录 - 1 首页 index.vue - 2 固定线路推荐 fixedList.vue - 2.1 线路推荐详情页 fixedDetail.vue - 2.2 自助游 diy.vue - 2.2.1 自助游详情页 diyDetail.vue - 2.2.2 自助游门票预约确认订单 diyOrder.vue - 2.2.3 自助游门票预约选择时间 time.vue - 3 特色美食详情列表 foodList.vue - 3.1 菜品图片 foodPicture.vue - 3.2 餐饮商家详情 foodDetail.vue - 4 活动列表 activityList.vue - 4.1 活动详情 activityDetail.vue - 5 购物-购物点推荐 shopping.vue - 5.1 购物-购物点商家详情页 shoppingDetail.vue - 5.2 购物-特产推荐 special.vue - 5.3 购物-特产介绍 specialDetail.vue - 6 交通 traffic.vue - 6.1 用车公司列表 carList.vue - 6.2 用车公司详情 carDetail.vue - 6.3 交通频道外链页面 outsidePage.vue - 7 登陆 login.vue - 7.1 注册 register.vue - 7.2 登录身份选择 identity.vue - 7.3 个人中心 my.vue - 7.4 修改电话号码 (chend) - 8 票务 (chend) - 8.1 购票列表 - 8.2 购票详情 - 9 商家详情 busDetail.vue (chend版本) #### 路由 路由配置默认为```hash```模式 ( url 带 # ) 可以在 ***src/router/index.js*** 设置路由模式 若为```history```模式,则需要在服务端进行设置。否则直接访问url地址会返回404。 apache 配置 - 在配置文件 ***httpd.conf*** 开启mod_rewrite.c - 在网站目录新建```.htaccess``` ``` RewriteEngine On RewriteBase / RewriteRule ^index\.html$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] ```