0.1.26 • Published 6 years ago
cp-styleguide v0.1.26
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.
0.1.26
6 years ago
0.1.25
6 years ago
0.1.24
6 years ago
0.1.23
6 years ago
0.1.22
6 years ago
0.1.21
6 years ago
0.1.20
6 years ago
0.1.19
6 years ago
0.1.18
6 years ago
0.1.17
6 years ago
0.1.16
6 years ago
0.1.15
6 years ago
0.1.14
6 years ago
0.1.13
6 years ago
0.1.12
6 years ago
0.1.11
6 years ago
0.1.10
6 years ago
0.1.9
6 years ago
0.1.8
6 years ago
0.1.7
7 years ago
0.1.6
7 years ago
0.1.5
7 years ago
0.1.4
7 years ago
0.1.3
7 years ago
0.1.2
7 years ago
0.1.1
7 years ago
0.1.0
7 years ago