Jump to main content


Quick overview of some core functions.

Compiling Your SPA

When you're ready to test your application, run:

npm run compile

If your Django dev server is running, its file watcher will be triggered and the server will restart. You will need to reload the browser in order to get the latest version.

Updating DxSvelte

Dev dependencies will be converted to peer dependencies in a future release.

You can upgrade to the latest DxSvelte and then refresh your configuration like so:

npm i dxsvelte@latest
npm run refresh

You can specify a version number rather than @latest as well, if preferred.

Server-Side Props (Passing Data)