Skip to main content

Export React

Folder Structure​

Export Code Button

folder structure of source code

  • package.json: dependency of npm
  • public
    • index.html: main html
  • src
    • assets: images
    • common.css: share styles
    • fonts.css: web fonts
    • components: major react components
      • posize: posize library
      • Card.js -> Card Component
      • Card.module.scss -> Card scss
      • ...

Live coding and debugging​

Installation​

Live Coding

npm install
npm start

then navigate http://localhost:3000 for live coding

Build Source

npm install
npm run build

And check the ./build folder