Create a gist now

Instantly share code, notes, and snippets.

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 : 'Привет, %пользователь%!'
},
{
block : 'input',
mods : {theme : 'islands', size : 'm'},
name : 'name',
placeholder : 'Имя пользователя'
},
{
block : 'button',
mods : {theme : 'islands', size : 'm', type : 'submit'},
text : 'Нажать'
}
]
}
]
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment