Coder Social home page Coder Social logo

vuejs2.0-demos's Introduction

介绍

这是vuejs2.0 demos,共包含四部分 vue-demos、vue-router-demos、vuex-demos 和 vuex-vue-router-demos

运行实例

首先将这个项目克隆到你的本地

$ git clone https://github.com/huangshuwei/vuejs2.0-demos.git

vue-demos 和 vue-router-demos 找到对应的实例,在浏览器打开即可查看效果;

vuex-demos 实例是和 webpack 结合使用的,需要进行以下安装

全局安装 webpack

$ npm install webpack -g
$ npm install webpack-dev-server -g

项目中安装

$ npm install

执行命令,查看效果

  • 生产环境: $ npm run build

  • 开发预览环境: $ npm run dev

  • 热替换模式(实时编译,刷新浏览器): $ npm run hrm

vue-demos

01-基础

02-模板语法

03-计算属性

04-class与style绑定

05-条件渲染

后面再整理...

vue-router-demos

vuex-demos

vuex-vue-router-demos

vuejs2.0-demos's People

Contributors

huangshuwei avatar

Stargazers

 avatar StoneZou avatar  avatar

Watchers

James Cloos avatar  avatar  avatar  avatar  avatar

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.