mirror of
https://github.com/chinchang/web-maker.git
synced 2025-02-22 14:15:03 +01:00
add Vue template
This commit is contained in:
parent
553c801772
commit
9a7ed95666
5
src/assets/vue-logo.svg
Normal file
5
src/assets/vue-logo.svg
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 196.32 170.02">
|
||||
<path fill="#42b883" d="M120.83 0L98.16 39.26 75.49 0H0l98.16 170.02L196.32 0h-75.49z"/>
|
||||
<path fill="#35495e" d="M120.83 0L98.16 39.26 75.49 0H39.26l58.9 102.01L157.06 0h-36.23z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 300 B |
@ -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',
|
||||
|
16
src/templates/template-vue.json
Normal file
16
src/templates/template-vue.json
Normal file
@ -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": "<div id=\"root\">\n <h1>Hello {{ message }}</h1>\n</div>"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user