The frontend for the leaderboards.gg website. Backend repo: https://github.com/leaderboardsgg/leaderboard-backend
If you'd like to start contributing to the project please check CONTRIBUTING.md
first to make sure things go as smoothly as possible!
Install the recommended extensions
/.vscode/extensions.json
Make sure if you have done Vue 2 dev in VSCode to disable Vetur extension for the workspace
Enable Volar Takeover mode
set node version with nvm
nvm use
(You may need to run nvm install
first)install pnpm (Performant NPM)
npm install -g pnpm
install dependencies
pnpm install
run nuxt generate
pnpm generate
run and connect to backend
.env.example
named .env
file with the BACKEND_BASE_URL
set to the address of the backend.
https://lbgg-backend-dev.fly.dev
as is in the .env.example
file if you don't want to run the backend locallyserve with hot reload at localhost:3000
pnpm dev
Look at the nuxt 3 documentation to learn more.
build for production and launch server
pnpm build
pnpm preview
generate static project
pnpm generate
Checkout the deployment documentation for more information.
If you're using VSCode (which we highly recommend) please install the 6 extensions that we have in our extensions.json
file. This in the extensions section then shows you ESLint, Prettier, Vetur, NPM Intellisense, TailwindCSS IntelliSense, PostCSS Language Support, etc. This will allow you to have proper automatic linting, formatting, and more with no extra setup!
Check out FILESTRUCTURE.md
if you are unsure how things are laid out in this repository.