django-svelte | This is a template for django-svelte apps | Internationalization library
kandi X-RAY | django-svelte Summary
kandi X-RAY | django-svelte Summary
This is a template for django-svelte apps. For simplicity and better integration with django, we used the webpack version of svelte's template. It has typescript and sass enabled by default, together with integration with django's urls and static files handling.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generate a sample response
django-svelte Key Features
django-svelte Examples and Code Snippets
Community Discussions
Trending Discussions on django-svelte
QUESTION
I'm trying to adapt to SvelteKit the Django-Svelte setup from this page where, using Rollup, the Svelte App is build inside the static directory of the Django app.
I cannot find how this can be done. I assume it has to do with Kit's options like paths.base, paths.assets and appDir but I cannot even configure paths.assets in any way.
In Vite, there is build.outDir but it is ignored by Vite.
...ANSWER
Answered 2022-Feb-15 at 21:15With SvelteKit, the output is usually based around the adapter. For example, the adapter-static allows to change where the output is placed. All the output is based off the .sveltekit
folder, which I do not believe is configurable.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install django-svelte
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page