|
|
1 settimana fa | |
|---|---|---|
| .claude | 1 mese fa | |
| .vscode | 1 mese fa | |
| src | 1 settimana fa | |
| static | 1 mese fa | |
| .env.example | 2 settimane fa | |
| .gitignore | 1 mese fa | |
| .npmrc | 1 mese fa | |
| .prettierignore | 1 mese fa | |
| .prettierrc | 1 mese fa | |
| README.md | 1 mese fa | |
| jsconfig.json | 1 mese fa | |
| package-lock.json | 1 mese fa | |
| package.json | 1 mese fa | |
| svelte.config.js | 2 settimane fa | |
| vite.config.js | 1 mese fa |
If you're seeing this, you've probably already done this step. Congrats!
# create a new project
npx sv create my-app
To recreate this project with the same configuration:
# recreate this project
npx sv@0.15.2 create --template minimal --no-types --add prettier tailwindcss="plugins:none" sveltekit-adapter="adapter:static" --install npm ./
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm 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.