1.0.13-prealpha • Published 7 months ago
pulsjs-compiler v1.0.13-prealpha
Puls Compiler (Experimental)
npm install pulsjs-compiler
vite.config.ts
import {pulsVite} from "pulsjs-compiler";
export default {
plugins: [
pulsVite()
]
}
ExampleComponent.puls
<script>
import { state } from 'pulsjs';
const name = state('John Doe');
</script>
<h1>${name}</h1>
<input :bind=${name} />
index.js
import ExampleComponent from './ExampleComponent.puls';
appendTo(document.body, html`
<${ExampleComponent} />
`)
IDE support
Currently PulsJS IDE has no official plugins. For simple autocompletion and syntax highlighting, you can use the Svelte plugins.
1.0.13-prealpha
7 months ago
1.0.12-prealpha
7 months ago
1.0.11-prealpha
7 months ago
1.0.10-prealpha
7 months ago
1.0.9-prealpha
7 months ago