I created a gomobile app with the bind command. The `Main.java` app 
embedding the go webserver into webview.

I placed my css file in `./src/main/assets/css/main.css` location. I 
referencing in the template file with:

<link rel="stylesheet" href="file:///android_asset/css/main.css">

But it's not showing up. The background should be red. I discovered 
`asset.Open` which I use to read a single pongo2 template file into the Mux 
router. I tried including partials, but realised I needed to somehow 
monkey-patch pongo2 able to load the other template files also, which I 
don't know how to do. Is there an option in `gomobile` able to load the 
assets? I can deal with it if pongo2 not able to include another templates.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to