vuejs / v2.vuejs.org

📄 Documentation for Vue 2
https://v2.vuejs.org
MIT License
5.03k stars 3.42k forks source link

TodoMVC Example: note that example won't work if blocking 3rd party site data #512

Closed raahede closed 8 years ago

raahede commented 8 years ago

The demo app isn't adding todos on enter.

Chrome OSX Version 53.0.2785.143 (64-bit)

https://vuejs.org/examples/todomvc.html

screen shot 2016-10-17 at 13 46 41
LinusBorg commented 8 years ago

Works here, Chrome Windows 53.0.2785.143.

Have you tested it without any extensions active (i.e. in an incognito tab)?

image

raahede commented 8 years ago

I realize now this is due to a browser setting, but it may be good to note somewhere.

screen shot 2016-10-17 at 14 07 27

chrisvfritz commented 8 years ago

I think I'd prefer to just fork that example so it doesn't use localStorage, as it's not an essential part of the demo.

LinusBorg commented 8 years ago

localStorage (or other means of persistence) is part of the TodoMVC spec:

https://github.com/tastejs/todomvc/blob/master/app-spec.md#persistence

chrisvfritz commented 8 years ago

@LinusBorg Ehh, OK. 😄 We'll add a note.

wvh commented 8 years ago

Same problem in Mozilla Firefox 45.4.0 (Debian stretch/sid). Nothing happens on <enter>. I don't seem to get a security warning either in the console when I press <enter>.

I block third-party cookies; if I accept all cookies, it works (as mentioned on MDN).

A warning would be nice because now it looks as if Vue itself isn't working, which is probably not the impression you'd like to make to people checking Vue's examples.

chrisvfritz commented 8 years ago

Just added a note.