Svelte baseline with rich pre-configured environment. Set up with simple command and you're set to Go!
Getting Started | Features | Project Strucure | Contributing | License
Create rapid svelte application with zero build configuration until you need it, just focus on what you need to make. It supports both client and server side rendering, run the rendering strategy based on your project requirement.
npx degit miqdadfwz/svelgo my-svelte-project
cd ./my-svelte-project
./scripts/setup.sh
# Run CSR local development server
# it will serve https://localhost:3001
npm run dev:client
# Run SSR local development server
# it will serve https://localhost:3000
npm run dev:server
# Build both server and client environments
# and generate production ready HTML files and assets that necessary to deploy and run
# your application.
npm run build
# Run the server locally for the production preview
npm run start:server
npm run start:client
# Run unit test
npm run test
# Or run test coverage
npm run test --coverage
tsc
.And other utilities which may help you to collaborate with others.
.
├── LICENSE
├── commitlint.config.js
├── index.html
├── jest.config.js
├── jest.setup.ts
├── package.json
├── pnpm-lock.yaml
├── postcss.config.js
├── public
│ ├── icons
│ │ ├── favicon.ico
│ │ ├── icon-128x128.png
│ │ ├── icon-144x144.png
│ │ ├── icon-152x152.png
│ │ ├── icon-192x192.png
│ │ ├── icon-384x384.png
│ │ ├── icon-512x512.png
│ │ ├── icon-72x72.png
│ │ └── icon-96x96.png
│ ├── offline.html
│ ├── pwa
│ │ └── manifest.json
│ └── sw.js
├── scripts
│ └── setup.sh
├── serve.dev.js
├── src
│ ├── __mocks__
│ │ └── styles.mock.js
│ ├── client
│ │ ├── App.svelte
│ │ ├── __tests__
│ │ │ ├── App.test.ts
│ │ │ └── index.test.ts
│ │ ├── global.css
│ │ ├── global.d.ts
│ │ └── index.ts
│ └── server
│ ├── index.ts
│ └── start.prod.ts
├── ssl
│ ├── localhost+2-key.pem
│ └── localhost+2.pem
├── svelte.config.js
├── tailwind.config.js
├── tsconfig.json
└── vite.config.js
PRs to this project is always welcome and can be a quick way to get your fix or improvement for the next release. In general, PRs should:
If you find an Issue that addresses the problem you're having, please add your own reproduction information to the existing issue rather than creating a new one. Adding a reaction can also help be indicating to our maintainers that a particular problem is affecting more than just the reporter.