Skip to content

WarwickAI/website

Repository files navigation

Website

Planning to use Next.js with Tailwind CSS and TypeScript.

Getting Started

Requires Node.js 20.

Created using:

  1. npx create-next-app@latest website --typescript (Next.js with TypeScript)
  2. cd website
  3. npm install -D tailwindcss postcss autoprefixer (Tailwind CSS)
  4. npx tailwindcss init -p (Tailwind CSS)

Code formatting:

  1. npm install -D prettier prettier-plugin-tailwindcss (Installing Prettier)
  2. npx prettier ./src --write --plugin=prettier-plugin-tailwindcss (Running Prettier)

Recommended VS Code extensions:

  1. Tailwind CSS IntelliSense
  2. Prettier - Code formatter
  3. PostCSS Language Support

Running Locally

To run locally with hot reloading:

  1. npm run dev

Deploying

TODO(czarlinski): Deploy the website to warwick.ai.