Shopping List v2.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. *Psst — looking for a shareable component template? Go here --> [sveltejs/component-template](https://github.com/sveltejs/component-template)*
  2. ---
  3. # svelte app
  4. This is a project template for [Svelte](https://svelte.dev) apps. It lives at https://github.com/sveltejs/template.
  5. To create a new project based on this template using [degit](https://github.com/Rich-Harris/degit):
  6. ```bash
  7. npx degit sveltejs/template svelte-app
  8. cd svelte-app
  9. ```
  10. *Note that you will need to have [Node.js](https://nodejs.org) installed.*
  11. ## Get started
  12. Install the dependencies...
  13. ```bash
  14. cd svelte-app
  15. npm install
  16. ```
  17. ...then start [Rollup](https://rollupjs.org):
  18. ```bash
  19. npm run dev
  20. ```
  21. Navigate to [localhost:5000](http://localhost:5000). You should see your app running. Edit a component file in `src`, save it, and reload the page to see your changes.
  22. ## Deploying to the web
  23. ### With [now](https://zeit.co/now)
  24. Install `now` if you haven't already:
  25. ```bash
  26. npm install -g now
  27. ```
  28. Then, from within your project folder:
  29. ```bash
  30. now
  31. ```
  32. As an alternative, use the [Now desktop client](https://zeit.co/download) and simply drag the unzipped project folder to the taskbar icon.
  33. ### With [surge](https://surge.sh/)
  34. Install `surge` if you haven't already:
  35. ```bash
  36. npm install -g surge
  37. ```
  38. Then, from within your project folder:
  39. ```bash
  40. npm run build
  41. surge public
  42. ```