Vue+Webpack高仿《one·一个》Webapp
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
build
config
src
static
.babelrc
.editorconfig
.eslintignore
.eslintrc.js
.gitignore
.postcssrc.js
README.md
index.html
package.json
prod.server.js

README.md

one-webapp

Vue高仿《one·一个》app

主要依赖

  1. 基于vue@2.0
  2. 使用vue-cli@2.0搭建项目框架
  3. 使用vue-router进行页面路由切换
  4. 使用vue-resource进行http请求获取数据
  5. 数据api由jokermonn提供
  6. 使用stylus编写样式
  7. 使用eslint进行js代码的规范
  8. webpack打包处理

在线预览

demo (PC端建议开启chrome调试模式食用更佳,移动端直接在浏览器开启即可 )

GIF

这里写图片描述

Build Setup

# 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

For detailed explanation on how things work, checkout the guide and docs for vue-loader.