59 lines
851 B
Plaintext
59 lines
851 B
Plaintext
extends html, javascript, scss
|
|
|
|
snippet vue "Default template"
|
|
<template>
|
|
$0
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
},
|
|
|
|
data () {
|
|
return {
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
</style>
|
|
endsnippet
|
|
|
|
snippet byinput "Beufy Input Field"
|
|
<div class="field"> <!-- $1 -->
|
|
<label class="label">$1</label>
|
|
<div class="control">
|
|
<input class="input"
|
|
name="$2"
|
|
${3:type="${4:text}"}
|
|
v-model="${5:$2}">
|
|
</div>
|
|
</div>$0
|
|
endsnippet
|
|
|
|
snippet byselect "Buefy Select Field"
|
|
<div class="field"> <!-- $1 -->
|
|
<label class="label">$1</label>
|
|
<div class="control">
|
|
<div class="select">
|
|
<select name="$2"
|
|
:v-model="$2">
|
|
$0
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
endsnippet
|
|
|
|
snippet nt "this.$nextTick( () => { ... })"
|
|
this.$nextTick( () => {
|
|
$0
|
|
})
|
|
endsnippet
|
|
|