This project contains boilerplate code for working with the prozilla-os
library. It uses React, Vite and TypeScript.
Requirements: Node.js
$ git clone https://github.com/prozilla-os/ProzillaOS-boilerplate.git prozilla-os
$ cd ./prozilla-os
$ npm install
$ npm run dev
Your website will be available at localhost:3000.
This is an overview of the most important files and folders in this project.
.
βββ /public βββββββββββ Static assets (favicons, images, fonts, ...)
β
βββ /src
β βββ /components βββββββ React components
β β βββ App.tsx βββββββββββ App component that renders the ProzillaOS component with optional configs
β βββ /config βββββββββββ Config files for ProzillaOS
β βββ /styles βββββββββββ Stylesheets
β β βββ index.css βββββββββ Global stylesheet
β βββ /types ββββββββββββ TypeScript types
β βββ index.tsx βββββββββ Main entry point that renders the app
β
βββ eslint.config.js ββ Linting configurations
βββ index.html ββββββββ HTML file containing metadata and a link to the main script
βββ package.json ββββββ Project metadata and dependencies
βββ README.md βββββββββ You are here
βββ tsconfig.json βββββ TypeScript configurations
βββ vite.config.ts ββββ Vite configurations
npm run dev
- Starts the Vite development server at localhost:3000.npm run build
- Compiles the project using TypeScript and bundles all files into thedist
folder.npm run lint
- Runs a linter on all .ts and .tsx files.npm run preview
- Previews the build in thedist
folder on a local web server at localhost:3000.