Loggest thine Stuff
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.

38 lines
926 B

  1. # create-svelte
  2. Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
  3. ## Creating a project
  4. If you're seeing this, you've probably already done this step. Congrats!
  5. ```bash
  6. # create a new project in the current directory
  7. npm init svelte
  8. # create a new project in my-app
  9. npm init svelte my-app
  10. ```
  11. ## Developing
  12. Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
  13. ```bash
  14. npm run dev
  15. # or start the server and open the app in a new browser tab
  16. npm run dev -- --open
  17. ```
  18. ## Building
  19. To create a production version of your app:
  20. ```bash
  21. npm run build
  22. ```
  23. You can preview the production build with `npm run preview`.
  24. > To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.