diff --git a/src/assets/vue-logo.svg b/src/assets/vue-logo.svg new file mode 100644 index 0000000..2d80e9a --- /dev/null +++ b/src/assets/vue-logo.svg @@ -0,0 +1,5 @@ + + diff --git a/src/templateList.js b/src/templateList.js index 87f70fd..babb564 100644 --- a/src/templateList.js +++ b/src/templateList.js @@ -9,6 +9,11 @@ export default [ title: 'React', img: 'assets/react-logo.svg' }, + { + id: 'vue', + title: 'Vue', + img: 'assets/vue-logo.svg' + }, { id: 'kontra-game-engine', title: 'Kontra Game Engine', diff --git a/src/templates/template-vue.json b/src/templates/template-vue.json new file mode 100644 index 0000000..3ff7556 --- /dev/null +++ b/src/templates/template-vue.json @@ -0,0 +1,16 @@ +{ + "title": "Vue template", + "externalLibs": { + "js": "\nhttps://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.min.js", + "css": "" + }, + "updatedOn": 1540223760000, + "sizes": ["", "calc(17.4842% - 6px)", "calc(49.1221% - 3px)"], + "mainSizes": [68.1051, 31.6949], + "htmlMode": "html", + "cssMode": "css", + "jsMode": "es6", + "layoutMode": 1, + "js": "const app = new Vue({\n el: '#root',\n data: {\n message: 'World'\n }\n});", + "html": "