Created
March 21, 2018 16:41
-
-
Save 1Rhino/6b16bd5b4e22cf45670e254f25cc2214 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
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
{"lastUpload":"2018-03-21T16:41:04.629Z","extensionVersion":"v2.9.0"} |
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
[ | |
{ | |
"metadata": { | |
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a", | |
"publisherId": "HookyQR.beautify", | |
"publisherDisplayName": "HookyQR" | |
}, | |
"name": "beautify", | |
"publisher": "HookyQR", | |
"version": "1.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "2.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "8.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "31dab038-d2f7-47c2-894e-5c35684dbd0e", | |
"publisherId": "karunamurti.haml", | |
"publisherDisplayName": "karunamurti" | |
}, | |
"name": "haml", | |
"publisher": "karunamurti", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f", | |
"publisherId": "xabikos.JavaScriptSnippets", | |
"publisherDisplayName": "xabikos" | |
}, | |
"name": "JavaScriptSnippets", | |
"publisher": "xabikos", | |
"version": "1.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "050d4900-7979-4d10-b7aa-e274f6ae8730", | |
"publisherId": "onecentlin.laravel5-snippets", | |
"publisherDisplayName": "onecentlin" | |
}, | |
"name": "laravel5-snippets", | |
"publisher": "onecentlin", | |
"version": "1.4.0" | |
}, | |
{ | |
"metadata": { | |
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a", | |
"publisherId": "shd101wyy.markdown-preview-enhanced", | |
"publisherDisplayName": "shd101wyy" | |
}, | |
"name": "markdown-preview-enhanced", | |
"publisher": "shd101wyy", | |
"version": "0.3.4" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.Material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "Material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "2.13.4" | |
}, | |
{ | |
"metadata": { | |
"id": "fef63133-dae3-40fb-b81d-6da7617b4b1e", | |
"publisherId": "techer.open-in-browser", | |
"publisherDisplayName": "techer" | |
}, | |
"name": "open-in-browser", | |
"publisher": "techer", | |
"version": "1.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347", | |
"publisherId": "alefragnani.project-manager", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "project-manager", | |
"publisher": "alefragnani", | |
"version": "0.25.0" | |
}, | |
{ | |
"metadata": { | |
"id": "61048194-bd70-4abb-b039-d796bf6be01c", | |
"publisherId": "bung87.rails", | |
"publisherDisplayName": "bung87" | |
}, | |
"name": "rails", | |
"publisher": "bung87", | |
"version": "0.5.4" | |
}, | |
{ | |
"metadata": { | |
"id": "3792588c-3d35-442d-91ea-fe6a755e8155", | |
"publisherId": "mechatroner.rainbow-csv", | |
"publisherDisplayName": "mechatroner" | |
}, | |
"name": "rainbow-csv", | |
"publisher": "mechatroner", | |
"version": "0.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d", | |
"publisherId": "rebornix.Ruby", | |
"publisherDisplayName": "rebornix" | |
}, | |
"name": "Ruby", | |
"publisher": "rebornix", | |
"version": "0.17.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e52bce95-a629-455f-8626-e7301b9e372a", | |
"publisherId": "robinbentley.sass-indented", | |
"publisherDisplayName": "robinbentley" | |
}, | |
"name": "sass-indented", | |
"publisher": "robinbentley", | |
"version": "1.4.8" | |
}, | |
{ | |
"metadata": { | |
"id": "66a5558f-9e27-4895-9c3e-dde3d657bc13", | |
"publisherId": "sianglim.slim", | |
"publisherDisplayName": "sianglim" | |
}, | |
"name": "slim", | |
"publisher": "sianglim", | |
"version": "0.1.2" | |
}, | |
{ | |
"metadata": { | |
"id": "349e83e2-207c-4309-a8d2-dfa43f7ee0c9", | |
"publisherId": "castwide.solargraph", | |
"publisherDisplayName": "castwide" | |
}, | |
"name": "solargraph", | |
"publisher": "castwide", | |
"version": "0.13.0" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.11.7" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "0.11.2" | |
}, | |
{ | |
"metadata": { | |
"id": "d637104e-1fd7-4063-98fc-8afe46012c9b", | |
"publisherId": "sleistner.vscode-fileutils", | |
"publisherDisplayName": "sleistner" | |
}, | |
"name": "vscode-fileutils", | |
"publisher": "sleistner", | |
"version": "2.8.1" | |
}, | |
{ | |
"metadata": { | |
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a", | |
"publisherId": "robertohuertasm.vscode-icons", | |
"publisherDisplayName": "robertohuertasm" | |
}, | |
"name": "vscode-icons", | |
"publisher": "robertohuertasm", | |
"version": "7.21.0" | |
}, | |
{ | |
"metadata": { | |
"id": "03b20f74-9504-4130-a12f-af9808985b37", | |
"publisherId": "Rubymaniac.vscode-paste-and-indent", | |
"publisherDisplayName": "Rubymaniac" | |
}, | |
"name": "vscode-paste-and-indent", | |
"publisher": "Rubymaniac", | |
"version": "0.0.8" | |
}, | |
{ | |
"metadata": { | |
"id": "3620b114-6fe8-459b-8c68-99943147069b", | |
"publisherId": "hollowtree.vue-snippets", | |
"publisherDisplayName": "hollowtree" | |
}, | |
"name": "vue-snippets", | |
"publisher": "hollowtree", | |
"version": "0.1.5" | |
} | |
] |
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
// Empty |
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
// Place your key bindings in this file to overwrite the defaults | |
[{ | |
"key": "cmd+\\", | |
"command": "workbench.action.terminal.toggleTerminal" | |
}, | |
{ | |
"key": "ctrl+r", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "shift+cmd+o", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "shift+cmd+\\", | |
"command": "workbench.action.toggleMaximizedPanel", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+c", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "ctrl+shift+g", | |
"command": "-workbench.view.scm" | |
}, | |
{ | |
"key": "shift+cmd+]", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+[", | |
"command": "workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "cmd+t", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "shift+cmd+d", | |
"command": "editor.action.goToDeclaration" | |
}, | |
{ | |
"key": "alt+cmd+down", | |
"command": "-editor.action.goToDeclaration" | |
}, | |
{ | |
"key": "ctrl+cmd+z", | |
"command": "git.clean" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "workbench.files.action.showActiveFileInExplorer" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "shift+cmd+r", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "cmd+t", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "-workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "ctrl+cmd+p", | |
"command": "projectManager.listProjectsNewWindow" | |
}, | |
{ | |
"key": "shift+cmd+.", | |
"command": "workbench.action.splitEditor" | |
}, | |
{ | |
"key": "cmd+\\", | |
"command": "-workbench.action.splitEditor" | |
}, | |
{ | |
"key": "shift+cmd+,", | |
"command": "workbench.action.joinTwoGroups" | |
} | |
] |
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
{ | |
"editor.tabSize": 2, | |
"editor.renderWhitespace": "all", | |
"editor.minimap.enabled": false, | |
"workbench.colorTheme": "One Dark Pro", | |
"window.openFilesInNewWindow": "on", | |
"files.insertFinalNewline": true, | |
"files.trimFinalNewlines": true, | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"tmp/": true, | |
"**/node_modules/**": true, | |
"**/log/": true, | |
"vendor": true, | |
"www/build/": true, | |
"www/assets/": true, | |
".sourcemaps/": true, | |
"**/build/": true, | |
"storage": true, | |
}, | |
"editor.wordWrap": "on", | |
"editor.rulers": [ | |
80, | |
99 | |
], | |
"editor.fontFamily": "Fira Code", | |
"editor.fontLigatures": true, | |
"workbench.iconTheme": "vscode-icons", | |
"extensions.ignoreRecommendations": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.snippetSuggestions": "top", | |
"editor.formatOnPaste": true, | |
"editor.quickSuggestions": { | |
"other": true, | |
"comments": true, | |
"strings": true | |
}, | |
"explorer.autoReveal": false, | |
"vsicons.projectDetection.autoReload": true, | |
"window.zoomLevel": -1.5, | |
"files.trimTrailingWhitespace": true, | |
"diffEditor.ignoreTrimWhitespace": false, | |
"editor.autoIndent": false, | |
"vim.autoindent": false, | |
"editor.detectIndentation": false, | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": false, | |
"suppressCommitNotFoundWarning": false, | |
"suppressFileNotUnderSourceControlWarning": false, | |
"suppressGitVersionWarning": false, | |
"suppressLineUncommittedWarning": true, | |
"suppressNoRepositoryWarning": false, | |
"suppressUpdateNotice": true, | |
"suppressWelcomeNotice": true | |
}, | |
"gitlens.annotations.file.gutter.format": "${author|10?} ${date|10}", | |
"gitlens.annotations.file.gutter.dateFormat": "YYYY-MM-DD", | |
"emmet.includeLanguages": { | |
"blade": "html" | |
}, | |
"emmet.triggerExpansionOnTab": true, | |
"editor.quickSuggestionsDelay": 1, | |
"workbench.activityBar.visible": false, | |
"files.associations": { | |
"*.html": "html", | |
"*.ts": "typescript" | |
}, | |
// "workbench.editor.enablePreview": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"explorer.confirmDelete": false, | |
"git.autofetch": true, | |
"[php]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 4 | |
}, | |
"[python]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 4 | |
}, | |
"[javascript]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
}, | |
"[html]": { | |
"editor.insertSpaces": true, | |
"editor.tabSize": 2 | |
}, | |
"git.confirmSync": false, | |
"terminal.external.osxExec": "iTerm.app", | |
"terminal.integrated.rightClickCopyPaste": true, | |
"explorer.confirmDragAndDrop": false, | |
"sync.gist": "", | |
"sync.lastUpload": "2018-01-17T08:40:47.319Z", | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.lastDownload": "", | |
"sync.forceDownload": false, | |
"sync.anonymousGist": false, | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": false, | |
"sync.askGistName": false, | |
"gitlens.blame.dateFormat": "YYYY-MM-DD", | |
"gitlens.blame.format": "${author|10?} ${date|10}", | |
"gitlens.keymap": "alternate", | |
"vsicons.dontShowNewVersionMessage": true, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
} |
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
{ | |
/* | |
// Place your snippets for erb here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
} |
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
{ | |
/* | |
// Place your snippets for html.erb here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
} |
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
{ | |
/* | |
// Place your snippets for Javascript (Babel) here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
"Javascript new class function": { | |
"prefix": "js_new_class", | |
"body": [ | |
"window.${1:ClassName} = (function() {", | |
" // Constructor", | |
" function ${1:ClassName}() {}", | |
"", | |
" ${1:ClassName}.prototype.init = function () {", | |
" bindingEvents();", | |
" }", | |
"", | |
" bindingEvents = function (){", | |
" }", | |
"", | |
" return ${1:ClassName};", | |
"", | |
"})();", | |
"", | |
"$(function() {", | |
" (new ${1:ClassName}()).init();", | |
"})" | |
], | |
"description": "Javascript new class function" | |
}, | |
"Javascript new function": { | |
"prefix": "js_fun", | |
"body": [ | |
"${1:myFunctionName} = function() {", | |
" ${2}", | |
"}" | |
] | |
}, | |
"new function Javascript": { | |
"prefix": "fun", | |
"body": [ | |
"function(${1}) {", | |
" ${2}", | |
"}" | |
] | |
}, | |
"Vuew new store module": { | |
"prefix": "vue_new_store_module", | |
"body": [ | |
"// import * as types from '../mutation_types'", | |
"", | |
"const state = {", | |
" data: []", | |
"}", | |
"", | |
"const getters = {", | |
" data: state => state.data", | |
"}", | |
"", | |
"const actions = {", | |
"}", | |
"", | |
"const mutations = {", | |
" [types.SET_DATA](state, data) {", | |
" state.data = data", | |
" },", | |
"}", | |
"", | |
"export default {", | |
" state,", | |
" getters,", | |
" actions,", | |
" mutations", | |
"}" | |
], | |
"description": "Vuew new store module" | |
} | |
} |
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
{ | |
/* | |
// Place your snippets for JavaScript React here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
} |
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
{ | |
/* | |
// Place your snippets for Ruby here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
"Ruby new module": { | |
"prefix": "r_new_module", | |
"body": [ | |
"# frozen_string_literal: true", | |
"# encoding: utf-8", | |
"", | |
"module ModuleName", | |
" class ClassName", | |
" def initialize(params)", | |
" @params = params", | |
" end", | |
"", | |
" def perform", | |
" end", | |
"", | |
" private", | |
"", | |
" def method_name", | |
" end", | |
" end", | |
"end" | |
], | |
"description": "Ruby new module" | |
} | |
} |
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
{ | |
/* | |
// Place your snippets for TypeScript here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
} |
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
{ | |
/* | |
// Place your snippets for TypeScript React here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
} |
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
{ | |
// Place your snippets for vue-html here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", | |
// "$2" | |
// ], | |
// "description": "Log output to console" | |
// } | |
} |
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
{ | |
/* | |
// Place your snippets for Vue here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
} | |
*/ | |
"vue new page component": { | |
"prefix": "vue_new_page_component", | |
"body": [ | |
"<template>", | |
" <div id=\"NewIdPage\">", | |
" <div class=\"col-xs-12 no-padding\">", | |
" </div>", | |
" </div>", | |
"</template>", | |
"", | |
"<script>", | |
" import { mapGetters } from 'vuex'", | |
" // import * as mutationTypes from '../../../store/mutation_types'", | |
"", | |
" export default {", | |
" name: 'ComponentName',", | |
" props: ['propsData'],", | |
" components: {},", | |
"", | |
" computed: mapGetters({", | |
" user: 'userLoggedIn'", | |
" }),", | |
"", | |
" data: function () {", | |
" return {", | |
" }", | |
" },", | |
" ", | |
" methods: {", | |
" functionName: function () {", | |
" }", | |
" },", | |
"", | |
" mounted: function () {", | |
" // this.$store.dispatch('someAction', this.route.params.id) ", | |
" // this.$store.commit(mutationTypes.TYPE_NAME, data ); ", | |
" }", | |
" }", | |
"</script>", | |
"", | |
"<style lang=\"sass\" scoped>", | |
"</style>" | |
], | |
"description": "vue new page component" | |
}, | |
} |
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
{"version":"7.21.0","status":0,"welcomeShown":true} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment