https://github.com/aquin0s/boilerplate-frontend
My version of a simple, boilerplate frontend using TypeScript and React that can be organised however one likes.
https://github.com/aquin0s/boilerplate-frontend
react typescript visual-studio-code webpack
Last synced: about 2 months ago
JSON representation
My version of a simple, boilerplate frontend using TypeScript and React that can be organised however one likes.
- Host: GitHub
- URL: https://github.com/aquin0s/boilerplate-frontend
- Owner: AQUIN0S
- Created: 2020-04-28T07:10:33.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T17:38:09.000Z (over 3 years ago)
- Last Synced: 2025-07-02T22:06:59.630Z (12 months ago)
- Topics: react, typescript, visual-studio-code, webpack
- Language: JavaScript
- Size: 3.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Boilerplate Frontend
My version of a simple, boilerplate frontend using TypeScript and React that can be organised however one likes.
To use, clone this repo to your computer, and use `npm install` to install the required packages.
## Commands
```bash
npm build
```
Build the website into /dist folder.
```bash
npm run watch
```
Watches files in the /src folder for changes, rebuilding the project into /dist whenever a change is saved.
I often use this with live-server (which can be installed using `npm i live-server -g`) in a different tab on the terminal, as a way to simulate a hot-reload development server and see changes instantly. It now appears that webpack-dev-server works properly with TypeScript finally though, so I'll probably start using that instead!
```bash
npm start
```
Creates a development server and hot-reloads changes you make on the fly, allowing you to see the changes you make to a webpage instantly. This will not build your project into /dist however, use `npm run build` or `npm run watch` to do that.