vue-cartkit-library

0.5.4 • Public • Published

Vue Cartkit Library

An awesome vue component library built with Vue CLI 3.

Usage

In a module system

Install the library with NPM:

npm install vue-cartkit-library

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

import VueCartkitLibrary from 'vue-cartkit-library'

Vue.use(VueCartkitComponents)

Or, import components individually for local registration:

import { SalesPop } from 'vue-cartkit-library'

export default {
  components: { SalesPop }
}

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 SalesPop from 'vue-cartkit-library.SalesPop'

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-library"></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-library/SalesPop"></script>
<script>
  new Vue({ el: '#app' })
</script>

Readme

Keywords

none

Package Sidebar

Install

npm i vue-cartkit-library

Weekly Downloads

1

Version

0.5.4

License

MIT

Unpacked Size

4.72 MB

Total Files

37

Last publish

Collaborators

  • davidboom95
  • jpcasabianca
  • duhamelgm