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 = ['{!!', '!!}']
> Note in 1.0.0-alpha when you set Vue.config.delimiters, it will still
> implicitly update the unsafe delimiters following the current rules, but in
> 1.0.0-beta and above setting delimiters will have no effect on
> unsafeDelimiters.
> ...
> Em 17/09/2015 19:18, "Massimo Di Pierro" <[email protected]
> <javascript:>> escreveu:
>
>> 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, Ramos wrote:
>>>
>>> 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 <[email protected]
>>> <javascript:>>:
>>>
>>>> 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',
>>>> data: {
>>>> var1:'aa'
>>>>
>>>> },
>>>> filters:{
>>>> first:function(value,stop){
>>>> return value.slice(0,stop);
>>>> }
>>>>
>>>> },
>>>> methods:
>>>> {
>>>> selectFormula:function(form){
>>>>
>>>> },
>>>> log: function(arg) {
>>>> console.log(arg);
>>>> },
>>>>
>>>> },
>>>> ready:function(){
>>>>
>>>> }
>>>> });
>>>> });
>>>> })($, Vue);
>>>>
>>>> 2015-09-16 22:20 GMT+01:00 Massimo Di Pierro <[email protected]
>>>> <javascript:>>:
>>>>
>>>>> 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
>>>>>>
>>>>>>
>>>>>> 2015-09-16 15:05 GMT+01:00 Márcio Almeida <[email protected]
>>>>>> <javascript:>>:
>>>>>>
>>>>>>> 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 charges the index page, the other I did not know how to load (
>>>>>>>> http://www.web2pyslices.com/slice/show/2030/creating-a-single-page-app-with-web2py
>>>>>>>> ).
>>>>>>>> Has anyone had any experience with this or know how to evolve the
>>>>>>>> example of web2pyslices?
>>>>>>>> Some solution in web2py?
>>>>>>>> I think some will tell me about angularjs etc, okay with it gives,
>>>>>>>> but did not want to mix things up, native web2py does it have any way
>>>>>>>> out?
>>>>>>>>
>>>>>>>> Thanks people.
>>>>>>>>
>>>>>>> --
>>>>>>> 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 [email protected] <javascript:>.
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>> --
>>>>> 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 [email protected] <javascript:>.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>
>>> --
>> 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 [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.