You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
264 B
JavaScript

const Promise = require("bluebird");
const documentReady = require("document-ready-promise");
const riot = require("riot");
const rfr = require("rfr");
rfr("lib/components/app");
Promise.try(() => {
return documentReady();
}).then(() => {
riot.mount("app");
})