An open API service indexing awesome lists of open source software.

https://github.com/soakit/vue-comp-reuse-demo


https://github.com/soakit/vue-comp-reuse-demo

component hoc reuse-component vue

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

          

# vue-comp-reuse-demo

[Visit Demo](http://soakit.github.io/vue-comp-reuse-demo)

0 : 不考虑组件复用

1 & 2: mixin组件复用

3 & 4: hoc组件复用

5 & 6: vue-hoc组件复用

## 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
```

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).