Visual Studio Code Extension for adding Svelte component snippets.
These are simple Svelte component snippets. I've also added html single line and multiline comment snippets. I recommend to install Svelte Component Snippets along with Svelte 3 Snippets.
Prefix | Description |
---|---|
svc | Svelte Component |
svcsmc | Svelte Component And Script Module Context |
tssvc | Typescript Svelte Component |
tssvcsmc | Typescript Svelte Component And Script Module Context |
stylepostcss | Style PostCSS |
stylesass | Style SASS |
stylescss | Style SCSS |
hc-- | HTML Comment |
hmc-- | HTML Multiline Comment |
<script>
</script>
<div>
I love Svelte :)
</div>
<style>
</style>
<script context="module">
</script>
<script>
</script>
<div>
I love Svelte :)
</div>
<style>
</style>
<script lang="ts">
</script>
<div>
I love Svelte :)
</div>
<style>
</style>
<script lang="ts" context="module">
</script>
<script lang="ts">
</script>
<div>
I love Svelte :)
</div>
<style>
</style>
<style lang="postcss">
</style>
<style lang="sass">
</style>
<style lang="scss">
</style>
<!-- <comment> -->
<!--
<multiline_comment>
-->
Contributions are welcome! If your interested in contributing reach out and message me on discord