From the course: Learning Polymer

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Use components in an app

Use components in an app - Polymer Tutorial

From the course: Learning Polymer

Start my 1-month free trial

Use components in an app

- [Instructor] Let's imagine that you have a web application and you want to be able to use a Polymer component within it. And this is a fairly common scenario and luckily with Polymer, it's a fairly easy one to address. Unlike other component frameworks, you don't need to change the way that you build your application in order to use web components. In your code editor, open the index.html file that's inside the 02_02_start folder. All right now, before we do anything else, let's just view this page in the browser. So let's go back to the terminal window, and make sure that you're in the exercise files folder, and what I'm going to do is start up the Polymer server, but I'm going to do an additional trick this time. I'm going to type Polymer serve and then --open, but this time I'm going to say --open-path= I'm going to write 02_02_start/index.html. And the reason I'm doing this is because some of these examples use the exercise files folder as their route where they find the bower…

Contents