Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 2.16 KB

CHANGELOG.md

File metadata and controls

51 lines (40 loc) · 2.16 KB

Change Log

All notable changes to the "sveltekit-snippets" extension will be documented here.

Check Keep a Changelog for recommendations on how to structure this file.

[Unreleased]

[1.1.1] - 2021-01-13

Fixed

  • Addresses breaking changes in SvelteKit's load function
  • Adds 'contributes' metadate for TS to allow snippet use in .ts files

[1.1.0] - 2021-12-31

Added

  • TypeScript Endpoints via kitTsEndpoint

Changed

  • Removed { params } from Endpoints boilerplate

Fixed

  • Adds lang=ts to normal script tag when using kitModuleTs

[1.0.0] - 2021-11-23

Initial Features

Snippet Output
kitComp Scaffolds a Svelte component
ktiCompTs Scaffolds a TypeScript Svelte component
kitModule Scaffolds a SvelteKit module component for a page or layout
kitModuleTs Scaffolds a SvelteKit Typescript module component for a page or layout
kitLayout Scaffolds a SvelteKit Layout component
kitPrefetch Create a sveltekit:prefetch anchor tag
kitEach Create a Svelte {#each} block
kitIf Create a Svelte {#if} block
kitAwait Create a Svelte {#await} block
kitKey Create a Svelte {#key} block
kitTitle Create a title element in the document head
kitLoad Create a SvelteKit Load function
kitEndpoint Create a SvelteKit Endpoint

Troubleshooting

  • To enable intellisense in MD files, add the following JSON to your global settings.json
 "[markdown]": {
   "editor.quickSuggestions": true,
   "editor.wordBasedSuggestions": false
 },