svelte-preprocess-alien Svelte Themes

Svelte Preprocess Alien

Replace alien dollar sign with your favorite alien string.

svelte-preprocess-alien

Replace alien dollar sign with your favorite alien string.

Install

npm i -D svelte-preprocess-alien

Config

// svelte.config.js

import { alien } from 'svelte-preprocess-alien';

...

  preprocess: [alien('🐸🐸🐸'), vitePreprocess({})],

...

Now you can write Svelte reactivity like this

<script lang="ts">
  🐸🐸🐸: mine = $page.url.searchParams.get('mine');
</script>

Top categories

Loading Svelte Themes