Micro UI
This is CLI based package to build and publish a micro UI or reusable web-component to microuihub.com for public access and use.
Installation
This is CLI based node module available throught the npm registry. This should be installed for work space setup of web-component.
$ npm install microui-cli -g
Features
- Initialize microui setup
- Login to microuihub.com
- Build releasable code.
- Publish to microuihub.com
- Load locally for non-CDN setup
Quick Start
Initialization
Initialize microui developer setup in existing ui project. Also it will ask for any template selection menu to select.
$ microui init
Create React based reusable web component with microui setup.
$ microui init react
Create Angular based reusable web component with microui setup.
$ microui init angular
Create Vue based reusable web component with microui setup.
$ microui init vue
Create SAPUI5 based reusable web component with microui setup.
$ microui init ui5
Create JS based reusable web component with microui setup.
$ microui init js
Configurations
Once init command run, its create basic setup of micro ui enviorment. Its create one file .microui.json
and one directory .microui
. You need to put the directory name in all you ignore files (e.g .gitignore).
.microui
Directory Its a temporary working directory for microui-cli, which is being used during different actions. There should not be nay manual change, which may cause problem during publish.
.microui.json
File This is a manifest file for module defination will used in build and publish. Initially its comes with some basic values, which need to be changed based on development setup.
Build
$ microui build
Publish (beta)
$ microui publish
Login/Logout (beta)
$ microui login