640 B
640 B
How to build for production
- Clone the repository
git clone https://github.com/koneko/towerdefense.git
- Ensure you have atleast Node v23.3.0
node -v
- Install dependencies.
npm install
- Run the build script
npm run build
This will create a dist
folder in the root of the project, you can statically serve those files or play the latest build of main here.
- (DEVELOPMENT) You are now ready to start editing the files, run:
npm run dev
to start the development server which uses Vite and offers hot reloading alongside in-browser error logging.