A playground to start developing stuff using:
TypeScript
SCSS
HTML
Install all dependencies.
npm install
Run development server locally. Hot reloading on changes.
npm run dev
Want to build for production
and upload to Netlify, Vercel, GitHub Pages and other deployment services?
-
Change the mode in
webpack.config.js
fromdevelopment
toproduction
. -
Run build and serve scripts below:
npm run build && npm run serve
- Must
npm install -D <package_name>
to keep itdevDependencies
for local development and testing, and not distribute to the users - Compile for us by using
webpack.config.js
- Two processes are running:
- dev server (delivering)
- server build