@houzy/dsm-react
v0.0.27
Published
Houzy Dsm Bindings For React
Readme
@houzy/dsm-react
Using the library
- Install
npm i --save @houzy/dsm-core @houzy/dsm-react- Define custom elements in your react
index.tsxfile
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 lintLints and formats all the projects with--fixargumentnpm run lint:ciLints and formats all the projects without--fixargument
Development
npm run storybook
Build commands
npm run build=> Build the projectnpm run create:package=> Create.tgzfile for local testing
