Take home and about as reference:
- a View described literal shall be returned as home/index.ts
- multiple Routes can be registered. Usually
Routes
are distinguished by METHOD controller
can beasync
if you preferred that syntax, see home/controller
Take user as reference:
- an Api described literal shall be returned as user/index.ts
- multiple Routes can be registered. Usually
Routes
are distinguished by METHOD controller
can beasync
or not. check user/controller for non-async example
Take home as reference:
- create folder with a name same as pageId under static.
- create main.ts
import
main.css withinmain.ts
- add this
main.ts
into webpack.client.js