@vessel-js/svelte
v0.3.3
Published
This package adds [Svelte](https://svelte.dev) support to Vessel.
Downloads
10
Maintainers
Readme
Vessel Svelte
This package adds Svelte support to Vessel.
npm install @vessel-js/svelte
// vite.config.js
import { svelte } from '@sveltejs/vite-plugin-svelte';
import { vessel } from '@vessel-js/app/node';
import { vesselSvelte } from '@vessel-js/svelte/node';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
vessel(),
vesselSvelte(),
svelte({
extensions: ['.svelte', '.md'],
compilerOptions: {
hydratable: true,
},
}),
],
});