0.1.0 • Published 5 years ago

@web-bee-ru/widgets v0.1.0

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

@web-bee-ru/widgets

Install

npm i @web-bee-ru/widgets

Use

  1. Make sure you have bootstrap styles in your project.

2a. Import and register all widgets:

import Vue from 'vue';
import { VuePlugin } from '@web-bee-ru/widgets';
Vue.use(VuePlugin);

2b. Import only ones you need:

<template>
  <div>
    <w-button>Click me</w-button>
  </div>
</template>
<script>
  import { WButton } from '@web-bee-ru/widgets';
  export default {
    components: { WButton },
  };
</script>

Develop

npm run bootstrap # will install dependencies
npm run dev # will start nuxt sandbox

If you experience issues, try npm run clean and then npm run bootstrap again.

Publish

npm run publish

If you experience issues with ssh key passphrase, try running start-ssh-agent before publishing.