Skip to content

Commit

Permalink
Snippet docs for #1325 comments
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Aug 13, 2019
1 parent 8916640 commit 07e91d9
Showing 1 changed file with 1 addition and 34 deletions.
35 changes: 1 addition & 34 deletions docs/snippet.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,44 +22,11 @@ Two exceptions:
</style>
```

## Scaffold snippets
## Customizable Scaffold Snippets

Vetur provides scaffolding snippets for quickly defining regions.
They are `vue` snippets and can be used outside language regions.

`scaffold`
```html
<template>

</template>

<script>
export default {
}
</script>

<style>
</style>
```

`template with html`
```html
<template>

</template>
```

`style with scss`
```html
<style lang="scss">
</style>
```

## Customizable Scaffold Snippets

Three sources supplement Vetur with scaffold snippets:

![Snippet Main](./images/snippet-main.png)
Expand Down

0 comments on commit 07e91d9

Please sign in to comment.