Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. ls src/assets/images
  2. paladin.jpg
  3.  
  4. ls src
  5. app assets environments favicon.ico index.html main.ts polyfills.ts styles.css test.ts
  6.  
  7. "assets": [
  8. "src/assets",
  9. "src/favicon.ico"
  10. ],
  11. "styles": [
  12. "src/styles.css"
  13. ],
  14. "scripts": []
  15.  
  16. <link rel="icon" type="image/x-icon" href="favicon.ico">
  17.  
  18. <img width="300" alt="Angular Logo" src="assets/images/paladin.jpg">
  19.  
  20. ng serve
  21. ng build
  22.  
  23. <img width="300" alt="Angular Logo" src="./assets/images/paladin.jpg">
  24. <img width="300" alt="Angular Logo" src="assets/images/paladin.jpg">
  25. <img width="300" alt="Angular Logo" src="../assets/images/paladin.jpg">
  26. <img width="300" alt="Angular Logo" [src]="assets/images/paladin.jpg">
  27. <img width="300" alt="Angular Logo" [src]="'assets/images/paladin.jpg'">
  28.  
  29. ng new myTestApp
  30. # => routing y/N doesn't matter
  31. # => css option
  32. ng serve --open
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement