Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- route.js to create your routes for your pages
- you have to have a import line to require each page
- one page app -
- even though it will look like multiple pages it is still one html page
- only one web request is needed. Javascript is just exchanging strings of html. Only one url.
- for path component is known as the controller action
- router link over "a" tag # is removed
- components are pieces of a page.
Add Comment
Please, Sign In to add comment