BaliBalo / ScoreSaber-Frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Developing

Once you've cloned the project and installed dependencies with npm install (or pnpm install or yarn), create a new .env file using the template from .env.example CORS is currently enabled for both the CDN and the API so your .env should look a little like this until we find a better solution in the future

VITE_CDN_URL=https://cdn.scoresaber.com
VITE_API_URL=https://scoresaber.com

To start a development server:

npm run dev -- --https

Building

npm run build

You can preview the built app with npm run preview. This should not be used to serve ScoreSaber in production.

About

License:MIT License


Languages

Language:Svelte 78.6%Language:TypeScript 14.3%Language:SCSS 6.5%Language:HTML 0.3%Language:JavaScript 0.3%Language:Shell 0.0%