🔧 Created default vue template espanso
This commit is contained in:
parent
4c23390880
commit
743eed432c
2 changed files with 24 additions and 0 deletions
|
|
@ -310,6 +310,16 @@ matches:
|
||||||
params:
|
params:
|
||||||
cmd: "~/scripts/html5 ; echo ''"
|
cmd: "~/scripts/html5 ; echo ''"
|
||||||
|
|
||||||
|
# returns default vue layout
|
||||||
|
- trigger: ";vue"
|
||||||
|
force_clipboard: true
|
||||||
|
replace: "{{output}}"
|
||||||
|
vars:
|
||||||
|
- name: output
|
||||||
|
type: shell
|
||||||
|
params:
|
||||||
|
cmd: "~/scripts/vue ; echo ''"
|
||||||
|
|
||||||
# returns default html5 layout
|
# returns default html5 layout
|
||||||
- trigger: ";php"
|
- trigger: ";php"
|
||||||
force_clipboard: true
|
force_clipboard: true
|
||||||
|
|
|
||||||
14
scripts/vue
Executable file
14
scripts/vue
Executable file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# Utilize in conjunction with espanso, call ;vue
|
||||||
|
cat <<EOM
|
||||||
|
<script setup>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
</style>
|
||||||
|
EOM
|
||||||
Loading…
Add table
Add a link
Reference in a new issue