Source

duel / duel-staticapps / example-config.json

Full commit
{
	"isDevMode": false,
	"contentType": "text/html",
	"encoding": "UTF-8",
	"targetDir": "target/www/",
	"sourceDir": "target/foo-web/",
	"serverPrefix": "com.example.web.views",
	"cdnMap": "cdn",
	"cdnLinksMap": "cdnLinks",
	"cdnHost": ".",
	"views": {
		"index.html":
			{
				"view": "HomePage",
				"data": {
					"foo": "bar",
					"blah": "yada"
				},
				"extras": null
			},
		"error.html":
			{
				"view": "ErrorPage",
				"data": {
					"foo": "bar",
					"blah": "yada"
				},
				"extras": {
					"App.foo": "bar",
					"App.blah": "yada"
				}
			}
	},
	"files": [
		"robots.txt",
		"favicon.ico"
	]
}