This repository was archived by the owner on Sep 25, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +8
-91
lines changed
Expand file tree Collapse file tree 7 files changed +8
-91
lines changed Original file line number Diff line number Diff line change 11bower_components /
2- node_modules /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ Or [download as ZIP](https://github.com/webcomponents/hello-world-polymer/archiv
29292. Import custom element:
3030
3131 ```html
32- <link rel =" import" href =" bower_components/hello-world-polymer/dist/ hello-world.html" >
32+ <link rel =" import" href =" bower_components/hello-world-polymer/hello-world.html" >
3333 ```
3434
35353. Start using it!
@@ -48,34 +48,22 @@ Attribute | Options | Default | Description
4848
4949In order to run it locally you'll need to fetch some dependencies and a basic server setup.
5050
51- 1. Install [Bower ](http://bower.io/) & [Grunt](http ://gruntjs .com/):
51+ 1. Install [bower ](http://bower.io/) & [polyserve](https ://npmjs .com/polyserve ):
5252
5353 ```sh
54- $ [sudo] npm install -g bower grunt-cli
54+ $ npm install -g bower polyserve
5555 ```
5656
57572. Install local dependencies:
5858
5959 ```sh
60- $ bower install && npm install
60+ $ bower install
6161 ```
6262
63- 3. To test your project, start the development server and open `http://localhost:8000 `.
63+ 3. Start development server and open `http://localhost:8080/components/hello-world-polymer/ `.
6464
6565 ```sh
66- $ grunt server
67- ```
68-
69- 4. To build the distribution files before releasing a new version.
70-
71- ```sh
72- $ grunt build
73- ```
74-
75- 5. To provide a live demo, send everything to `gh-pages` branch.
76-
77- ```sh
78- $ grunt deploy
66+ $ polyserve
7967 ```
8068
8169## History
Original file line number Diff line number Diff line change 66 " WebComponents.org"
77 ],
88 "license" : " MIT" ,
9- "main" : " dist/ hello-world.html" ,
9+ "main" : " hello-world.html" ,
1010 "keywords" : [
1111 " polymer" ,
1212 " web-components"
1313 ],
1414 "ignore" : [
1515 " **/.*" ,
16- " node_modules" ,
1716 " bower_components"
1817 ],
1918 "dependencies" : {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99 < script src ="../webcomponentsjs/webcomponents-lite.min.js "> </ script >
1010
1111 <!-- Imports custom element -->
12+ < link rel ="import " href ="hello-world.html ">
1213
13- < link rel ="import " href ="src/hello-world.html ">
1414</ head >
1515< body >
1616
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments