10 changed files with 69 additions and 2304 deletions
			
			
		@ -1,11 +0,0 @@ | 
				
			|||||
<!DOCTYPE html> | 
					 | 
				
			||||
<html lang="en"> | 
					 | 
				
			||||
  <head> | 
					 | 
				
			||||
    <meta charset="UTF-8" /> | 
					 | 
				
			||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | 
					 | 
				
			||||
    <title>Imba Module</title> | 
					 | 
				
			||||
  </head> | 
					 | 
				
			||||
  <body> | 
					 | 
				
			||||
    <script type="module" src="/src/index.js"></script> | 
					 | 
				
			||||
  </body> | 
					 | 
				
			||||
</html> | 
					 | 
				
			||||
								
									
										File diff suppressed because it is too large
									
								
							
						
					@ -0,0 +1,13 @@ | 
				
			|||||
 | 
					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 :(" | 
				
			||||
					Loading…
					
					
				
		Reference in new issue