Skip to content

Instantly share code, notes, and snippets.

View rochabianca's full-sized avatar

Bianca rochabianca

View GitHub Profile
@rochabianca
rochabianca / vue.json
Last active March 13, 2023 01:17
Snippet to bring back scaffold on vue on vscode. To use it go to Code>Preferences>User Snippets type vue on the input and paste this code there.
{
"bring back the scaffold to vue files": {
"prefix": "scaffold",
"body": [
"<template>",
" <div>$TM_FILENAME_BASE</div>",
"</template>",
"",
"<script>",
"export default {",
@rochabianca
rochabianca / javascript.json
Last active December 14, 2021 17:31
my javascript snippers
{
"starts test template": {
"prefix": "e2e",
"body": [
"import ${TM_FILENAME_BASE/(.*)/${1:/capitalize}/} from '../page-objects/${TM_FILENAME_BASE/(.*)/${1:/capitalize}/}'",
"import General from '../page-objects/General'",
"",
"describe('${TM_FILENAME_BASE/(.*)/${1:/capitalize}/} Tests', () => {",
" const $TM_FILENAME_BASE = new ${TM_FILENAME_BASE/(.*)/${1:/capitalize}/}()",
" const general = new General()",