@houzy/dsm-react
v0.0.27
Published
Houzy Dsm Bindings For React
Downloads
30
Readme
@houzy/dsm-react
Using the library
- Install
npm i --save @houzy/dsm-core @houzy/dsm-react
- Define custom elements in your react
index.tsx
file
const runApp = async (): Promise<void> => {
await defineCustomElements();
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root'),
);
};
runApp();
Dev commands
Lint & Format commands
npm run lint
Lints and formats all the projects with--fix
argumentnpm run lint:ci
Lints and formats all the projects without--fix
argument
Development
npm run storybook
Build commands
npm run build
=> Build the projectnpm run create:package
=> Create.tgz
file for local testing