Guest User

Untitled

a guest
Oct 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. route.js to create your routes for your pages
  2.  
  3. you have to have a import line to require each page
  4.  
  5. one page app -
  6. even though it will look like multiple pages it is still one html page
  7. only one web request is needed. Javascript is just exchanging strings of html. Only one url.
  8. for path component is known as the controller action
  9.  
  10. router link over "a" tag # is removed
  11.  
  12. components are pieces of a page.
Add Comment
Please, Sign In to add comment