Modrinth Website
The Modrinth Website, codename Knossos, is a Nuxt.js frontend. You will need to install pnpm and run the standard commands:
Setup
1. Install prerequisites
- Install the package manager pnpm
2. Install dependencies & set up .env
- Clone
https://github.com/modrinth/codeand runpnpm installin the workspace root folder. - In
apps/frontendyou should be able to see.env.prod,.env.staging— for basic work, it’s recommended to use.env.prod. Copy the relevant file into a new.envfile within theapps/frontendfolder.
3. Run the frontend
- Run
pnpm web:devin the workspace root folder. Once that’s done, you’ll be serving the website onlocalhost:3000with hot reloading.
Ready to open a PR?
If you’re prepared to contribute by submitting a pull request, ensure you have met the following criteria:
pnpm prepr:frontendhas been run.