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

13 lines
423 B

import "pro-router/standalone" # standalone operates on "/#/" hash style url; for regular "/" url use: "pro-router/router"
import "pro-router-imba2"
import { helpers } from "pro-router-imba2/helpers"
import views from "./views.json"
R.init helpers: helpers, views: views, root: 'home', render: imba.commit
tag view-home
<self><h1> 'Imba2 on Pro Router is working...'
tag view-not_found
<self><h1> "Page not found :("