Created
June 19, 2017 13:53
-
-
Save caleywoods/fe3df560b852fdfbd01010ae14f90a63 to your computer and use it in GitHub Desktop.
WPC Atom Snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file uses CoffeeScript Object Notation (CSON). | |
# If you are unfamiliar with CSON, you can read more about it in the | |
# Atom Flight Manual: | |
# http://flight-manual.atom.io/using-atom/sections/basic-customization/#_cson | |
'.text.html.vue': | |
'axios get': | |
'prefix': 'aget' | |
'body': """ | |
axios | |
.get(${1:'/foo/bar'}) | |
.then( response => { | |
$2 | |
}) | |
.catch( e => { | |
$3 | |
}) | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment