Skip to content

Instantly share code, notes, and snippets.

@innabelaya
Last active January 10, 2018 14:24
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
({
block : 'page',
title : 'hello',
head : [
{ elem : 'css', url : 'hello.min.css' }
],
scripts : [{ elem : 'js', url : 'hello.min.js' }],
mods : { theme : 'islands' },
content : [
{
block : 'hello',
content : [
{
elem : 'greeting',
content : 'Hello %user%!'
},
{
block : 'input',
mods : {theme : 'islands', size : 'm'},
name : 'name',
placeholder : 'User name'
},
{
block : 'button',
mods : {theme : 'islands', size : 'm', type : 'submit'},
text : 'Click'
}
]
}
]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment