Web based application to view an osu! standard beatmap - View Demo
This repository was forked from old project of mine
-
First, you need to clone this repository using Git
git clone https://github.com/siveroo/obviewer.git
if you don't have Git, you may download the repository manually,
-
Then, you need to install all the dependencies
cd /obviewer npm install
-
To start the demo or development workflow, run the command below
npm run dev
It uses Vite under the hood both for development and build process.
It will create a local server with the default url
localhost:3000
where you can see the demo. Every changes in the code will cause compilation and if successful, the demo page will refresh automatically.
-
To start the build process, run the command below
npm run build
It will create a folder
dist
where it contains the transpiled JavaScript codes and map files with a single type definition file (.d.ts
) where you can use it on your own TypeScript project.However, i haven't tested the build result in another environtment/projects, for example on a project that uses Vanilla JS, React.js, Svelte, or any other frameworks/library