cp-styleguide
CP Styleguide
CaptureProof Styleguide Component Library based on Vue.js 2
Documentation
A list of available components can be found here:
Installation
NPM
$ npm i cp-styleguide
CDN
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> // include Vue.js library
<script src="https://unpkg.com/cp-styleguide/dist/cp-styleguide.umd.js"></script> // include component library from NPM CDN
Also you need to include CSS file from NPM CDN
<link rel="stylesheet" href="https://unpkg.com/cp-styleguide/dist/cp-styleguide.css" />
Usage
Installed via NPM (ES6 syntaxes)
Import library at the root component (App.vue for example) and than all components from library will be available inside your Vue app
import 'cp-styleguide' // import inside App.vue or any other root component
Installed via CDN (plain JavaScript)
Add html element of the app.
<div id="app">
</div>
Create Vue instance
<script>
var app = new Vue({
el: '#app',
});
</script>
Than all library components will be available inside this app.
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.26 | ^2.6.10 | ||
| 0.1.25 | ^2.5.16 | ||
| 0.1.24 | ^2.5.16 | ||
| 0.1.23 | ^2.5.16 | ||
| 0.1.22 | ^2.5.16 | ||
| 0.1.21 | ^2.5.16 | ||
| 0.1.20 | ^2.5.16 | ||
| 0.1.19 | ^2.5.16 | ||
| 0.1.18 | ^2.5.16 | ||
| 0.1.17 | ^2.5.16 | ||
| 0.1.16 | ^2.5.16 | ||
| 0.1.15 | ^2.5.16 | ||
| 0.1.14 | ^2.5.16 | ||
| 0.1.13 | ^2.5.16 | ||
| 0.1.12 | ^2.5.16 | ||
| 0.1.11 | ^2.5.16 | ||
| 0.1.10 | ^2.5.16 | ||
| 0.1.9 | ^2.5.16 | ||
| 0.1.8 | ^2.5.16 | ||
| 0.1.7 | ^2.5.16 | ||
| 0.1.6 | ^2.5.16 | ||
| 0.1.5 | ^2.5.16 | ||
| 0.1.4 | ^2.5.16 | ||
| 0.1.3 | ^2.5.16 | ||
| 0.1.2 | ^2.5.16 | ||
| 0.1.1 | ^2.5.16 | ||
| 0.1.0 | ^2.5.16 |