Skip to content

web-bee-ru/widgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@web-bee-ru/widgets

Install

npm i @web-bee-ru/vue-widgets

Use

  1. Make sure you have bootstrap styles and sass support in your project.

2a. Import and register all widgets:

import Vue from 'vue';
import { VuePlugin } from '@web-bee-ru/vue-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/vue-widgets';
  export default {
    components: { WButton },
  };
</script>

Develop

npm run bootstrap # install dependencies
npm run dev:vue # start dev sandbox

Refer to widget design guidelines and widget registry (currently only available in Russian).

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published