Sorry Anthony for confusing you. I tried the scaffolding app but for some reason I never got the delimiter to be recognised. So I tried using the vuejs code from the introduction. However I managed to get it working now.
thanks again. John On Sunday, January 29, 2017 at 11:55:54 PM UTC+1, Anthony wrote: > > On Saturday, January 28, 2017 at 2:50:57 PM UTC-5, John Philip wrote: >> >> Hi there, >> >> I'm a bit lost at the moment. I tried all of the suggestions but it >> doesn't seem to work. Does anybody have a simple web2py example using vuejs >> that I can try? >> > > It's not quite clear what your problem is, as you mentioned starting with > that scaffolding app, but then showed some other code that looks unrelated. > > Anyway, as web2py primarily deals with the server side of things and Vue > is a client-side library, there isn't much to working with them together -- > just make sure in any web2py views that contain Vue markup that you are > using different delimiters for each (i.e., change either the web2py or Vue > default delimiters). > > If you're having problems, in the browser, use "view source" to check the > final HTML that got sent to the browser -- if it doesn't look right, then > the problem must be in your web2py view code. Otherwise, the problem is > probably with your Vue code, and you should ask in the Vue help forum. > > Anthony > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.