Just a basic starter template for a website that doesn't use any fancy frameworks 🌻
- Typescript 5.5
- Vite builder
- Internal pattern for circular references
- Prettier formatting
- Basic VSCode settings
Have Node installed. v18 or higher preferred. v16 will grouse a bit but appears to work.
$ npm ci
index.html is the startup page. src/index.ts is the startup module. Anything in public/ will be included in the build output root.
To run the source via local webserver:
$ npm run dev
The site will be accessible at localhost:5173. Code changes should trigger a hot reload.
$ npm run build
Output will appear in the build folder with the following structure
index.html
assets/
package-name.js
package-name.css
anything from public/