☕️ Add CoffeeScript to Svelte

This is an adder for svelte-add; you should read its README before continuing here.

➕ Adding CoffeeScript

This adder's codename is coffeescript, and can be used like so:

npx svelte-add@latest coffeescript

🏞 Supported environments

This adder supports SvelteKit and Vite-powered Svelte apps (all the environments svelte-add currently supports).

⚙️ Options

This adder doesn't take any options of its own.

🛠 Using CoffeeScript

After the adder runs,

  • You can write CoffeeScript syntax in the script lang="coffee" blocks in Svelte files.

  • You can write CoffeeScript syntax in .coffee files and import them elsewhere.

Top categories

Loading Svelte Themes