1
0

uninstall.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{%= title %}</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <meta name="author" content="{%= author_name %}" />
  7. </head>
  8. <body>
  9. <p>Once you start developing your own app / lib, you should
  10. remove all unnecessary parts left from the sample app.</p>
  11. <ul style="width: 40ex">
  12. <li>In <code>index.html</code>
  13. <code>&lt;body&gt;</code> tag,
  14. everything should be removed, except
  15. the <code>&lt;script&gt;</code> tag
  16. that initializes Amber and starts your app;
  17. then you can add elements specific to your own app
  18. to the page.</li>
  19. <li>If you aren't going to use <code>Web</code>
  20. package from <code>amber-contrib-web</code> module,
  21. but want to retain the jQuery wrapper,
  22. you should run <code>bower uninstall amber-contrib-web --save</code>
  23. from your CLI.</li>
  24. <li>If you aren't going to use the <code>Web</code>
  25. package from the <code>amber-contrib-web</code> module,
  26. nor the jQuery wrapper from <code>amber-contrib-jquery</code>,
  27. you should run <code>bower uninstall amber-contrib-web amber-contrib-jquery --save</code>
  28. from your CLI.</li>
  29. <li>You cannot remove just the jQuery wrapper and retain the Web package,
  30. as it depends on the jQuery wrapper.</li>
  31. <li>If you aren't going to use <code>Silk</code>
  32. package from <code>silk</code> module,
  33. but want to retain <code>DOMite</code> DOM wrapper,
  34. you should run <code>bower uninstall silk --save</code>
  35. from your CLI.</li>
  36. <li>If you aren't going to use the <code>Silk</code>
  37. package from the <code>silk</code> module,
  38. nor the DOM wrapper from <code>amber-contrib-domite</code>,
  39. you should run <code>bower uninstall silk amber-contrib-domite --save</code>
  40. from your CLI.</li>
  41. <li>You cannot remove just the <code>DOMite</code> DOM wrapper
  42. and retain the Silk package, as it depends on <code>domite</code>.</li>
  43. <li>As the last step, make sure the dependency tree is in a correct state
  44. by recreating it: first delete your <code>bower_components</code> folder,
  45. then run <code>bower install</code> from your CLI.</li>
  46. </ul>
  47. </body>
  48. </html>