Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 592 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 592 Bytes

html-boilerplate

quick start
npm install
npm start

modify dist/index.html, src/style.css, index.js
build (generate files in "dist" dir for production env):
npx webpack
npx webpack --config webpack.config.js
npm run build

serve
python3 -m http.server 8080

dev mode
// dev mode's serve (automatically build and serve, no file generated in "dist" dir):
npm run start
npm start

funny API:
https://jsonplaceholder.typicode.com/posts
https://rickandmortyapi.com/api/character/1
https://placekitten.com/g/200/300

possible later config:
https://github.com/tsrot/react-demo