Thanks for your reply :)
I did as you said and ran chrome with the flag, but it did not have any 
effect. The page still appears blank when I open the file locally but works 
properly if I open it through the local server. Any idea why?

On Saturday, 12 July 2014 15:00:30 UTC+5:30, [email protected] wrote:
>
> Its probably due to the fact the without a server the imports wouldn’t be 
> allowed under the browser’s same origin policy.
> You can bypass that by opening Chrome with --allow-file-access-from-files 
> flag:
>
> Just set up a shortcut with the following 
> target: C:\Users\Admin\AppData\Local\Google\Chrome\Application\chrome 
> --allow-file-access-from-files and it should work
>
> On Saturday, July 12, 2014 12:00:00 PM UTC+3, [email protected] 
> wrote:
>>
>> HI, I'm following this 
>> <http://www.polymer-project.org/docs/start/tutorial/intro.html> tutorial 
>> on polymer-project.org. In it it says that I need a web server to test 
>> my pages.
>> I'm sorry if this is a very stupid question, but why do I need a web 
>> server? Why don't the pages work if you simply open the index.html files 
>> locally in the browser? I just want to understand. By my reasoning it 
>> should work the same way whether it is loaded from a remote server or the 
>> local filesystem.
>>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/006aa83d-3abb-4cd6-ae91-2e7b87f51e94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to