Svelte Parser
a Svelte Parser for the expressrs
crate.
Svelte Example
@.svelte (AKA the main route /
)
<script lang="ts">
const username: string = "Test";
console.log(username);
</script>
<title>Custom page title (Fallback will be the file's name)</title>
<p>Hello world!</p>
How can i use this?
First you'll need to install the expressrs
crate
then in your code type this:
use ExpressLib;
use svelte;