0.1.26 • Published 5 years ago

cp-styleguide v0.1.26

Weekly downloads
85
License
-
Repository
-
Last release
5 years ago

CP Styleguide

CaptureProof Styleguide Component Library based on Vue.js 2

Documentation

A list of available components can be found here:

Staging

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

5 years ago

0.1.25

5 years ago

0.1.24

5 years ago

0.1.23

5 years ago

0.1.22

5 years ago

0.1.21

5 years ago

0.1.20

5 years ago

0.1.19

5 years ago

0.1.18

5 years ago

0.1.17

5 years ago

0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago