Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Latest commit

 

History

History
46 lines (25 loc) · 875 Bytes

README.md

File metadata and controls

46 lines (25 loc) · 875 Bytes

toedu-mock-fe

A frontend for mock-up, which is built on React and Next.js.

Build & Run

Install Dependencies

yarn

Build and Serve in Development Mode

yarn dev

Build in Production Mode

yarn build

Serve in Production Mode

yarn run

Lint the code

yarn lint  # with the rules built in Next.js

Format the code

yarn fmt

FAQ

Why don't we build with TypeScript?

  • It is for mock-up, means it won't be our main frontend.
  • Therefore, we shouldn't waste time on caring about types.

Why don't we set up a complete lint rules?

  • See "Why don't we build with TypeScript?".
  • Therefore, we shouldn't waste time on dealing with linting.

Why Component-Driven Development (CDD)?

  • For better understanding of the code.
  • Make the structure clear since we shouldn't waste time on finding our components ;)