svelte-adapter-aspcore
Version:
SvelteKit adapter for ASP.NET Core SPA.
25 lines (17 loc) • 477 B
Markdown
for Svelte apps that runs an ASP.Net Core App.
Run `npm install -D svelte-adapter-aspcore`.
Then in your `svelte.config.js`:
```js
import adapter from 'svelte-adapter-aspcore';
export default {
kit: {
...
adapter: adapter({
out: 'build'
})
}
};
```
See the [demo application](https://github.com/Kiho/aspcore-spa-cli/tree/dotnet-6/samples/SvelteKitSample) for an example integration with the SvelteKit.
Adapter