The order page. To build the page, please run
npm install
npm run build:dev:sass
npm run build:dev:webpack
The build result will save in the folder wwwroot.
This order page is building using Webpack, Bootstrap(for responsive design) and Typescript(for writing code with datatype declared).This order page will do
- input valid check. (if required, empty input is not allowed)
- if valid success, it will export a summary.json file that originally suppose to post to the backend.
- the summary file contains all the input values.
- when input changes, the summary value will change accordingly.
Suggested: you may want to use vscode to open the project folder, and use extention: live server https://github.com/ritwickdey/vscode-live-server-plus-plus to open the html page.
Below are some screenshots.