nci/views/index.jade

27 lines
539 B
Plaintext
Raw Normal View History

2015-04-10 20:17:03 +00:00
doctype html
html
head
title test
script(data-main="/js/main" src="/js/libs/requirejs/require.js")
script(type="text/javascript").
require(['app/app']);
body
h1 hello world
script#projects-template(type="text/template")
| <div class="js-projects">
| <% _(projects).each(function(project) { %>
| <div class="js-project" data-name="<%= project.name %>">
| <span><%= project.name %></span>
| <span class="js-run">&rarr;</span>
| </div>
| <% }); %>
| </div>
#content
2015-05-03 23:04:51 +00:00
#react-content