0.1.9 • Published 5 years ago

vue-cartkit v0.1.9

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Vue Cartkit Library

An awesome vue component library built with Vue CLI 3.

Usage

Directly in the browser

Drop the library in with a <script> tag alongside Vue to globally install all components:

<div id="app">
  <hello-world></hello-world>
</div>

<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-cartkit"></script>
<script>
  new Vue({ el: '#app' })
</script>

Or, if you only want to use a small subset of components, drop them in individually:

<div id="app">
  <hello-world></hello-world>
</div>

<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-cartkit/HelloWorld"></script>
<script>
  new Vue({ el: '#app' })
</script>

In a module system

Install the library with NPM:

npm install vue-cartkit

Then register the library as a plugin to globally install all components:

import VueCartkitComponents from 'vue-cartkit'

Vue.use(VueCartkitComponents)

Or, import components individually for local registration:

import { HelloWorld } from 'vue-cartkit'

export default {
  components: { HelloWorld }
}

Individually packaged components

If you only want to use a small subset of components, only import individually packaged components to reduce the size of your application:

import HelloWorld from 'vue-cartkit.HelloWorld'
0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago