My personal blog
Everything you need to build a Svelte project, powered by create-svelte
;
Install dependencies with:
yarn install
Start a development server with either of these:
# start server, link provided in output
yarn dev
# start server, open in new tab
yarn dev --open
# start server, make available for other devices on local network
yarn dev --host
# all of the above
yarn dev --host --open
Before creating a production version of your app, install an adapter for your target environment. Then:
yarn build
You can preview the built app with
yarn preview
, regardless of whether you installed an adapter. This should not be used to serve your app in production.