Skip to content

code-buildo/ui-lib

Repository files navigation

UI LIB

Installation

  • cd /to your local folder
  • In terminal run yarn or npm install

Available Scripts

npm start

Runs the app in the development mode.
Open http://localhost:3050 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

npm run lint

Detects the lint issue on the project

Packets inside

  • CRA + TS
  • react-router-dom
  • eslint config depends on airbnb configuration

Folder logic:

 ┣ assets - icons, images
 ┣ components - shared and reusable components
 ┣ hooks - custom hooks
 ┣ layouts - page layouts
 ┣ pages - page views
 ┣ router - react-router
 ┣ types - global types folder
 ┣ utils - util functions
 ┃ ┗ helpers - helper functions
 ┣ App.test.tsx
 ┣ App.tsx
 ┣ index.tsx
 ┣ react-app-env.d.ts
 ┗ setupTests.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors