0.1.0 • Published 6 years ago
@web-bee-ru/widgets v0.1.0
@web-bee-ru/widgets
Install
npm i @web-bee-ru/widgetsUse
- 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 sandboxIf you experience issues, try npm run clean and then npm run bootstrap again.
Publish
npm run publishIf you experience issues with ssh key passphrase, try running start-ssh-agent before publishing.
0.1.0
6 years ago