GithubHelp home page GithubHelp logo

my-vue2's Introduction

使用vue2.0+vuex2.0+vue-router2.0重构的卖座网

vue2.0 10月初发布正式版了,官方的插件,vuex,vue-router同样升级到2.0了,据说2.0性能比react性能高。

重构过程比较顺利,没什么困难,最主要是生命周期名变更,还有vuex的小变动,可以使用vue-migration-helper帮助升级,有比较友好的提示。

vue2.0如果性能如网上所说的那么快,我建议使用vue,我比较喜欢vue的语法。

vue2.0参考资料

官方文档http://vuejs.org/guide/ 中文翻译http://vuefe.cn/

vue-router2文档 http://router.vuejs.org/zh-cn/index.html

vuex2.0文档 http://vuex.vuejs.org/en/index.html

vue-resourece https://github.com/vuejs/vue-resource

滑动广告插件 https://github.com/surmon-china/vue-awesome-swiper

##演示效果

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.