moulduikits
v0.1.3
Published
### Develope with mould
Downloads
3
Readme
For Mould UI Kits
Develope with mould
Develope your components in
src
and export it inindex.ts
yarn add file:path/to/local/moulduikits
and add your component config in mould/setup in mould project.
// /mould/setup.ts
import moulduikits from 'moulduikits'
const { Example } = moulduikits
const { Raw, Editable, Icon} = Example
export default ({Components}) => {
return {
Components: [
...Components,
{
category: {
name: 'Example',
isBase: false
},
type: 'Example',
Raw,
Icon,
Editable
}
]
}
}
- if success, use it in editor and send PR to this project.
(Trickly: develope in mould project as atomic component and then paste to this project is preferred development because of the sync problem.)
TODO
- CI and semantic release
- solve sync problem
TSDX Bootstrapped
This project was bootstrapped with TSDX.
Local Development
Below is a list of commands you will probably find useful.
npm start
or yarn start
Runs the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.
Your library will be rebuilt if you make edits.
npm run build
or yarn build
Bundles the package to the dist
folder.
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).