Re: [web2py] Re: web2py SPA(single page application)

2015-09-17 Thread António Ramos
I get it you meant "Changing" right ? this is the way Vue.config.delimiters = ['(%', '%)']; 2015-09-16 23:27 GMT+01:00 António Ramos : > Massimo, can you explain what it "chancing the triple delimiters" ? > > i used web2py with vuejs without a problem... > > > for example

Re: [web2py] Re: web2py SPA(single page application)

2015-09-17 Thread António Ramos
I think you wont have that problem after 1.0 Unsafe delimiters for HTML interpolation can now be configured separately: Vue.config.unsafeDelimiters = ['{!!', '!!}'] Note in 1.0.0-alpha when you set Vue.config.delimiters, it will still implicitly update the unsafe delimiters following the

Re: [web2py] Re: web2py SPA(single page application)

2015-09-17 Thread JorgeH
so, why is Vue better than Ractive? or viceversa... On Thursday, September 17, 2015 at 1:44:03 PM UTC-5, Ramos wrote: > > I think you wont have that problem after 1.0 > > > Unsafe delimiters for HTML interpolation can now be configured separately: > > Vue.config.unsafeDelimiters = ['{!!',

Re: [web2py] Re: web2py SPA(single page application)

2015-09-17 Thread António Ramos
Im not saying better. I said favourite. The docs are very good. Never gave ractive a chance because the docs were not very appealing at first sight. Only my opinion. Em 17/09/2015 21:14, "JorgeH" escreveu: > so, why is Vue better than Ractive? > > or viceversa... > > On

Re: [web2py] Re: web2py SPA(single page application)

2015-09-17 Thread Massimo Di Pierro
In vue.js there are unsafe_delimiters and they change automatically when you set delimiters. So I chose delimiters to e '{%','%}' and it automatically changed unsafe_delimiters to '{{%','%}}' so it was conflicting with web2py delimiters {{.}}. On Thursday, 17 September 2015 03:25:43 UTC-5,

[web2py] Re: web2py SPA(single page application)

2015-09-16 Thread Márcio Almeida
Thank you, I will study it. If anyone has more information, please post. Em segunda-feira, 14 de setembro de 2015 22:14:53 UTC-3, Márcio Almeida escreveu: > > Hi, I'm trying to create a spa-like application to not reload it whenever > you change page, I tried example of web2pyslices but > only

Re: [web2py] Re: web2py SPA(single page application)

2015-09-16 Thread António Ramos
My favourite is Vuejs learn from here http://vuejs.org/guide/ https://laracasts.com/series/learning-vuejs you can go very crazy with it 2015-09-16 15:05 GMT+01:00 Márcio Almeida : > Thank you, I will study it. > If anyone has more information, please post. >

Re: [web2py] Re: web2py SPA(single page application)

2015-09-16 Thread Massimo Di Pierro
I had problems with vue.js Like chancing the triple delimiters did not work for me. On Wednesday, 16 September 2015 09:37:06 UTC-5, Ramos wrote: > > My favourite is Vuejs > learn from here > > http://vuejs.org/guide/ > https://laracasts.com/series/learning-vuejs > you can go very crazy with it >

Re: [web2py] Re: web2py SPA(single page application)

2015-09-16 Thread António Ramos
Massimo, can you explain what it "chancing the triple delimiters" ? i used web2py with vuejs without a problem... for example i import my app.js in my view to kick vuejs (function ($, Vue) { $(document).ready(function () { Vue.config.delimiters = ['(%', '%)']; new Vue({ el: '#demo',