Skip to content

Commit

Permalink
Add demo (Banno#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
robdodson authored and bryandcoulter committed Jul 17, 2017
1 parent a481a9e commit 0946e3c
Show file tree
Hide file tree
Showing 10 changed files with 6,060 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
bower_components
.DS_Store
logs
*.log
Expand All @@ -13,4 +14,4 @@ Thumbs.db
.idea
.vscode
*.sublime-project
*.sublime-workspace
*.sublime-workspace
9 changes: 9 additions & 0 deletions demo/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"presets": [
["env", {
"targets": {
"browsers": ["last 2 versions"]
}
}]
]
}
15 changes: 15 additions & 0 deletions demo/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# polymer-webpack-loader demo

## Setup

```
npm i
bower i
npm start
```

## What's included

This demo shows how to do a simple "Hello, World" with polymer-webpack-loader.
It includes a basic project that defines a Polymer element which uses ES Module
syntax to `import` a dependency from the `node_modules` directory.
19 changes: 19 additions & 0 deletions demo/bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "polymer-webpack-demo",
"private": true,
"description": "A hello world example of polymer-webpack-loader.",
"authors": [
"Rob Dodson"
],
"license": "Apache-2.0",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"polymer": "Polymer/polymer#^2.0.1"
}
}
Loading

0 comments on commit 0946e3c

Please sign in to comment.