Please note, this is a STATIC archive of website www.javatpoint.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
Javatpoint Logo
Javatpoint Logo

Create an Element Project

Let's see how to start an element project:

1. First, create a directory for your element project. Here the directory name is my-element.

2. Navigate to that directory.

3. Initialize your element. Polymer CLI asks you a few questions as it sets up your element project.

Polymer element project 1

4. Select element

Polymer element project 2

5. Enter a name for your element. Here the name of my element is "my-first-element".

Polymer element project 3

6. Enter the description of your element.

Polymer element project 4

Now, Polymer CLI will generate files and directories for your element, and will install your project's dependencies. You can see in the following image:

Polymer element project 5 Polymer element project 6

7. Now your setup is completed.

Polymer element project 7

Element Project layout

When the initialization process is completed, Polymer CLI generates the following files and directories.







Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA