|
2 | 2 |
|
3 | 3 | Carvue is a UI components library which is based on[Carbon-Design](http://www.carbondesignsystem.com/) and[VueJS](https://vuejs.org/) with ❤️ and Proud to be a[vue-awesome](https://github.com/vuejs/awesome-vue#responsive) 🎉 |
4 | 4 |
|
| 5 | +##Install |
| 6 | + |
| 7 | +>You need Vue.js 2.0 + |
| 8 | +
|
| 9 | +###with NPM or Yarn |
| 10 | + |
| 11 | +``` |
| 12 | +npm install carvue |
| 13 | +
|
| 14 | +or |
| 15 | +
|
| 16 | +yarn add carvue |
| 17 | +
|
| 18 | +``` |
| 19 | + |
| 20 | +###with CDN |
| 21 | + |
| 22 | +#"diff-41c8ea2e2b1e29cbc155cb24a1478efb58a2fa7fc488a114ef20541c3bb7a072-4-23-0" data-selected="false" role="gridcell" tabindex="-1" valign="top"> | 23 | + |
| 24 | +CSS:https://cdn.jsdelivr.net/npm/carvue/dist/carvue.min.css |
| 25 | + |
| 26 | +##Usage |
| 27 | + |
| 28 | +###NPM or Yarn / Webpack |
| 29 | + |
| 30 | +```js |
| 31 | +importVuefrom'vue' |
| 32 | +importCarvuefrom'carvue' |
| 33 | +import'carvue/dist/carvue.min.css' |
| 34 | + |
| 35 | +Vue.use(Carvue) |
| 36 | + |
| 37 | +``` |
| 38 | + |
| 39 | +###CDN / Standalone |
| 40 | + |
| 41 | +```xml |
| 42 | +<scriptsrc="https://cdn.jsdelivr.net/npm/vue"></script> |
| 43 | +<scriptsrc="https://cdn.jsdelivr.net/npm/carvue/dist/build.min.js"></script> |
| 44 | +<linkrel="stylesheet"href="https://cdn.jsdelivr.net/npm/carvue/dist/carvue.min.css"></link> |
| 45 | +``` |