Learn more at the Svelte website, or stop by the Discord chatroom.
Supporting SvelteSvelte is an MIT-licensed open source project with its ongoing development made possible entirely by fantastic volunteers. If you'd like to support their efforts, please consider:
Funds donated via Open Collective will be used for compensating expenses related to Svelte's development such as hosting costs. If sufficient donations are received, funds may also be used to support Svelte's development more directly.
DevelopmentPull requests are encouraged and always welcome. Pick an issue and help us out!
To install and work on Svelte locally:
git clone https://github.com/sveltejs/svelte.git cd svelte npm install
Do not use Yarn to install the dependencies, as the specific package versions in
package-lock.jsonare used to build and test Svelte.
To build the compiler and all the other modules included in the package:
npm run build
To watch for changes and continually rebuild the package (this is useful if you're using npm link to test out changes in a project locally):
npm run dev
npm run test
To filter tests, use
--grep). For example, to only run tests involving transitions:
npm run test -- -g transition
svelte.devThe source code for https://svelte.dev lives in the sites repository, with all the documentation in the site/content directory. The site is built with SvelteKit.
Is svelte.dev down?Probably not, but it's possible. If you can't seem to access any
.devsites, check out this SuperUser question and answer.