Sorry for the slow reply, been busy with a startup and another side 
project, but getting back to this now.

About getting a leo file to load up in LeoViewer easily, see this repo:
https://github.com/kaleguy/leo-examples

All you need to do is download index.html and put it in the same folder as 
the leo file you'd like to view, edit index.html (settings are self 
explanatory) and then view index.html in the browser. You'll need to use 
something like http-server if you want to do this locally.

Also, the relative links in the main demo site were broken, just fixed 
those.

The example site above shows Leoviewer displaying Youtube videos. If you 
look at the source Leo file, you'll see this a simple Vue component. Next 
steps for LeoViewer is to make more Vue components work out of the box + 
integrate form.io, so that you can build analytics dashboards and other 
complicated programs using Leo to design your UI. Probably will change the 
name to LeoVue.

Joe

On Tuesday, September 12, 2017 at 11:01:48 AM UTC-4, Edward K. Ream wrote:
>
> In another thread (don't remember where), I said that I wanted to 
> "recreate" Joe Orr's Leo viewer page 
> <https://bl.ocks.org/kaleguy/cef095e16e147bc04dd6c5812d732fb2>, or words 
> to that effect.  The conversation then shifted to discussions about web 
> frameworks, abstraction layers, etc.
>
> But I meant something much simpler!  I just want to be able to download 
> the page on my local machine, and have the page work as it does via the 
> link above.  But it doesn't.  Maybe scripts got "disconnected" somehow, or 
> maybe the problem lies in the css. Or somewhere else.
>
> I've studied the code on the page in a text editor (and anyway, the page 
> displays its own source code). I don't see why things don't "just work".
>
> Can anyone explain what is going on, and how to make the local page work 
> like the original? I'm guessing that just a few tweaks would do the job.  
> That would be a big step forward for me.
>
> Any volunteers?
>
> Edward
>

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

Reply via email to