Skip to content

Instantly share code, notes, and snippets.

@caleywoods
Created June 19, 2017 13:53
Show Gist options
  • Save caleywoods/fe3df560b852fdfbd01010ae14f90a63 to your computer and use it in GitHub Desktop.
Save caleywoods/fe3df560b852fdfbd01010ae14f90a63 to your computer and use it in GitHub Desktop.
WPC Atom Snippets
# 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