Skip to content

moka-ayumu/svelte-civet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svelte-civet

svelte-preprocess for civet (WIP)

Install

pnpm i -D svlete-civet @danielx/civet

How to use

// svelte.config.js
const config = {
  ...
  preprocess: [civet(), ...],
  ...
}
<!-- ...svelte -->
<script lang="civet">
  ...
</script>

For Example

<script lang="civet">
  let hello: string = "hel" |> & + "lo";

  $: hello2 = hello + hello;
</script>

<h1>{hello}</h1>
<h1>{hello2}</h1>

About

svelte-preprocess for civet (WIP)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published