This is CLI based package to build and publish a micro UI or reusable web-component to microuihub.com for public access and use.
This is CLI based node module available through the npm registry. This should be installed globally for workspace setup of web-component publish.
$ npm install microui-cli -g
- Initialize microui setup
- Login to microuihub.com
- Build releasable code.
- Publish to microuihub.com
- Load locally for non-CDN setup
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
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).
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.
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.
$ microui build
$ microui publish
$ microui login