Created
October 10, 2017 00:28
-
-
Save rzorzal/40c5f70d4ac78ecde96fc60420836051 to your computer and use it in GitHub Desktop.
snnimpetcore.cson
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
'.text.html.basic': | |
'Core Component': | |
'prefix': 'ccomponent' | |
'body': """<component name="$1"> | |
<imports> | |
</imports> | |
<template> | |
</template> | |
<style> | |
</style> | |
<script> | |
class $2Component extends CoreComponent { | |
constructor(){ | |
super(); | |
} | |
static get observedAttributes() { | |
return [ | |
] | |
}; | |
connectedCallback(){ | |
super.connectedCallback(); | |
} | |
}; | |
module.exports = $2Component; | |
</script> | |
</component> | |
""" | |
'Core Page': | |
'prefix': 'cpage' | |
'body': """<page name="$1"> | |
<imports> | |
</imports> | |
<template> | |
</template> | |
<style> | |
</style> | |
<script> | |
class $2Page extends CorePage { | |
constructor(){ | |
super(); | |
} | |
static get observedAttributes() { | |
return [ | |
] | |
}; | |
connectedCallback(){ | |
super.connectedCallback(); | |
} | |
}; | |
module.exports = $2Page; | |
</script> | |
</page> | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment