Requirements:
Steps:
- Clone the repo.
- Run
pnpm install
to install dependencies. - Run
pnpm run dev
to start the development server.
Miscellaneous notes on less obvious or useful things about the repo.
- Absolute imports are used. These are imports prefixed by
@website/
. - ESLint is automatically ran on save for VS Code. Other IDEs may have similar features.
- React Router v6 is installed. Make sure you're looking at the right docs.
- Tailwind CSS is installed.
- Typings are automatically generated for .css files.
- clsx can be used to split CSS class strings onto multiple lines and for conditional styling.
- public: Website assets. Directly copied to output
- src/assets: Website assets. Processed by bundler.
- src/components: Reusable components.
- src/data: Used to store static data and to reduce hardcoding.
- src/pages: Individual pages of the website.
- src/styles: Shared styles. CSS for specific components should be located next to the component.