vite-plugin-svelte-svelterial

A plugin for integration with Vite and SvelteKit.

Usage no npm install needed!

<script type="module">
  import vitePluginSvelteSvelterial from 'https://cdn.skypack.dev/vite-plugin-svelte-svelterial';
</script>

README

vite-plugin-svelte-svelterial

Version Documentation Maintenance License: MIT Twitter: TheComputerM

A plugin for integration with Vite and SvelteKit.

🏠 Homepage

Install

npm i -D vite-plugin-svelte-svelterial

Usage

with just vite

import { defineConfig } from 'vite';
import svelte from '@sveltejs/vite-plugin-svelte';
import svelterial from 'vite-plugin-svelte-svelterial';

export default defineConfig({
  plugins: [svelte(), svelterial({ your_config })],
});

with SvelteKit

{
  kit: {
    vite: () => ({
      plugins: [
        svelterial({ your_config })
      ],
    }),
  }
}

Run tests

cd packages/vite-plugin
pnpm t

Author

👤 TheComputerM

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2021 TheComputerM.
This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator