diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-11-03 20:12:32 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-11-03 20:12:32 +0100 |
commit | d00f7a4a0187b61257d9ff5703dfb4245d50eece (patch) | |
tree | aff6ff61908a332099e55cff9ce1035225f8cb04 /packages/merchant-backend-ui/README.md | |
parent | 0a604ee3ea1f1c43dfbe74d74f571329136e3749 (diff) |
-fix typos
Diffstat (limited to 'packages/merchant-backend-ui/README.md')
-rw-r--r-- | packages/merchant-backend-ui/README.md | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/packages/merchant-backend-ui/README.md b/packages/merchant-backend-ui/README.md index 16cbd0b9a..44a555ae0 100644 --- a/packages/merchant-backend-ui/README.md +++ b/packages/merchant-backend-ui/README.md @@ -10,9 +10,9 @@ This project generate 5 templates for the merchant backend: * RequestPayment * ShowOrderDetails -This pages are to be serve from the merchant-backend service and will be queried for browser that may or may not have javascript enabled, so we are going to do server side rendering. -The merchant-backend service is currently supporting mustache library for server side rendering. -We also want the be able to create a more interactive design if the browser have javascript enabled, so the pages will be serve with all the infromation in the html but also in javascript. +This pages are to be serve from the merchant-backend service and will be queried for browser that may or may not have JavaScript enabled, so we are going to do server side rendering. +The merchant-backend service is currently supporting mustache library for server side rendering. +We also want the be able to create a more interactive design if the browser have JavaScript enabled, so the pages will be serve with all the information in the HTML but also in JavaScript. In this scenario, we are using jsx to build the template of the page that will be build-time rendered into the mustache template. This template can the be deployed into a merchant-backend that will complete the information before send it to the browser. @@ -22,9 +22,7 @@ The building process can be executed with `pnpm build` # Testing -This project is using a javascript implementation of mustache that can be executed with the command `pnpm render-examples`. +This project is using a JavaScript implementation of mustache that can be executed with the command `pnpm render-examples`. This script will take the pages previously built in `dist/pages` directory and the examples definition in the `src/pages/[exampleName].examples.ts` files and render a to-be-sent-to-the-user page like the merchant would do. This examples will be saved invidivualy into directory `dist/examples` and should be opened with your testing browser. -Testing should be done with javascript enabled and javascript disabled, both should look ok. - - +Testing should be done with JavaScript enabled and JavaScript disabled, both should look ok. |