https://github.com/king-prawns/polymer3-sfs
Polymer 3 project - Start from scratch
https://github.com/king-prawns/polymer3-sfs
polymer3 sfs webpack
Last synced: 4 months ago
JSON representation
Polymer 3 project - Start from scratch
- Host: GitHub
- URL: https://github.com/king-prawns/polymer3-sfs
- Owner: king-prawns
- License: mit
- Created: 2017-12-29T20:52:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-31T14:27:37.000Z (over 7 years ago)
- Last Synced: 2024-12-27T15:28:13.776Z (5 months ago)
- Topics: polymer3, sfs, webpack
- Language: JavaScript
- Size: 160 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Polymer3-SFS
Polymer 3 project - Start from scratch
## Installation
* Install Node.js
Go to [Node website](https://nodejs.org/en/)
* Install Yarn
(npm should work as well)Go to [Yarn website](https://yarnpkg.com/en/docs/install#mac-tab)
A very cool dependency management
## Usage
* Clone or Download the project
* Install dependencies
```
$ cd my-project
$ yarn install
```a) for dev build
```
$ cd my-project
$ yarn run dev
```b) for prod build
```
$ cd my-project
$ yarn run build
```Install [http-server](https://github.com/indexzero/http-server)
A command-line http server
```
$ yarn global add http-server
```then
```
$ cd my-project\dist
http-server
```* Go to localhost
a) for dev build: [localhost:8000](http://localhost:8000/)
b) for prod build: [localhost:8080](http://localhost:8080/)
## Features
* include 3rd-party JS library
* [Webpack](https://webpack.js.org/)
* [Favicons Webpack Plugin](https://github.com/jantimon/favicons-webpack-plugin)
* [Director router](https://github.com/flatiron/director)
* NO unit/integration test has been developed## Conclusion
This is a very complete example, I hope this will help you to understand better Polymer 3.