Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/s3xysteak/vippets

Some vue snippets. Love from vuer
https://github.com/s3xysteak/vippets

Last synced: about 1 month ago
JSON representation

Some vue snippets. Love from vuer

Awesome Lists containing this project

README

        

## Intro

I am a vscode extension that provide some vue snippets support for vue2 && vue3.

![intro gif](animate.gif)

## What could I do?

- vue3

| abbr. | snippet |
| -------- | --------------------- |
| `com` | `computed(() => )` |
| `watchE` | `watchEffect(()=>{})` |
| `onmo` | `onMounted(()=>{})` |
| `onun` | `onUnmounted(()=>{})` |

> Use `

<template>
<div>
</div>
</template>
```

> Use `<st` to generate style

```vue
<style scoped></style>
```

- vue2

| abbr. | snippet |
| ---------------------- | ----------------------- |
| `vname` | `name: '',` |
| `vcreated` | `created() {},` |
| `vdata` | `data() { return {} },` |
| ...`v` + other options | ...other options |

> Use `vbase` to generate template

```vue
<template>
<div></div>
</template>

<script>
export default {}

```