Everything you need to build an awesome Svelte project, powered by create-svelte
.
# recommended
# npm install -g @antfu/ni
# (https://github.com/antfu-collective/ni)
npm install # with @antfu/ni, just run `ni`
pnpm run init
Start a development server:
pnpm run dev # nr dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
To create a production version of your app:
pnpm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.