Yes. As the title say, this post is about tips on how you can run Polymer sample on Windows.
IIS instead of python server
In Google’s Polymer document, it suggests you to run the following Python command to start the web server.
python -m SimpleHTTPServer
python -m http.server
But most of windows developers doesn’t have the python installed on our windows machine. What else do we have? Yes. Most of us have the IIS so you can simply create a website and point to “polymer-tutorial-master” folder in IIS. That is.
.json extension in IIS
So, I added the .Json extension in MIME and then it works. If you want to see the step by step how to add new MIME in IIS then you can refer to this post “add .json handler support in IIS 7“. But for me, I didn’t add the handler for .json.
After adding the .json MIME in IIS then go and refresh the page. You will see the list as below.
Polymer is a very interesting project that based on web components. But yes, it reminds me of my Silverlight/WPF days where I used to deal with template/data templates. I am still studying more about this project and hopefully, I can share my experience with Polymer with you all later.