npm.io
0.0.2 • Published 1 year ago

legion-rnd

Licence
MIT
Version
0.0.2
Deps
3
Size
1.6 MB
Vulns
0
Weekly
0

Legion UI React

For Local R&D

Creat file main.tsx and copy this code

import ReactDOM from 'react-dom/client'
import App from './app'
import './style.scss'

ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
)

create file app.tsx and import in main.tsx and then you do anything in app component. And then yarn dev or npm run dev

Running Local Project

// for run R&D
yarn dev
// or
npm run dev

// for run unit test
yarn test
// or
npm run test


// for run storybook
yarn storybook
// or
npm run storybook