unip
v0.0.1-alpha-9
Published
Plugin boilerplate with svelte, create plugin/component for use in pure JavaScript, Vue.js and React
Downloads
6
Maintainers
Readme
UNIP
Create Components with single code base for pure JavaScript, Svelte, Vue.js and React
What's Unip?
Unip help you start new plugin project that will going to work in different JavaScript framework, currently we support Vue.js, React, pure JavaScript (IIFE) and also Svelte.
Features
- Use svelte power to create plugin that going to work every where
- Example for every thing you need to create your plugin
- Pre defined Vue.js React adapter
- VuePress static site generated for documentation
Install
npm install -g unip
yarn global add unip
Usage
unip create svelte my-awesome-plugin
cd my-awesome-plugin
npm run dev
Start svelte dev server
npm run dev
Start Pure JavaScript dev server
npm run iife
Install vue demo application packages
npm run install-vue-demo
Start vue dev server
npm run vue
Install react demo application packages
npm run install-react-demo
Start react dev server
npm run react
Contribute
git clone [email protected]:babakhani/unip.git
cd unip
npm link
unip --help
license
Freely distributable under the terms of the MIT license.