It's a simple HTML starter kit with Typescript support.
Live link: https://web-starter-kit-ts.netlify.app/
- TS only.
- HTML template.
- Vendor chunks
- CSS, SCSS support
- Vendor Chunking
- ESLint TS
- Reset CSS
- .png, .jpg, .svg support
- Code splitting
- Lazy Loading
- Install
degit
globally usingnpm install -g degit
. - Bootstrap project using
degit launchpad5682/web-starter-kit-TS
. - Use
npm install
to install all the packages.
- Run using
npm start
which will create a live server with hot-reload. - Update TS files in the
src
directory, add images toassets
, add styles instyles
directory. - Example for Image import and lazy loading is added in the
index.ts
file.
- Run
npm run build
, this'll combine and create adist
with the resulted code for deployment.