loganfsmyth / polymer3-webpack-starter

Polymer 3 starter built with Vaadin components and Vaadin.Router library, using webpack and modern tools

Home Page:https://polymer3-webpack-starter.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Known Vulnerabilities code style: prettier Lighthouse score: 91/100

Polymer 3 Webpack Starter

This is an example project demonstrating how you can build a frontend part of the JavaScript application using Vaadin components and Vaadin Router library, and leverage the benefits of the modern tools.

The application uses ES modules for development, and Webpack as a module bundler. The optimizations like code splitting, minifying JavaScript and HTML (inside of the template string literals) are used to reduce production bundle size.

Features

Install dependencies

npm i

Start the development server

Start webpack-dev-server on localhost http://127.0.0.1:3000:

npm run dev

Lint JavaScript

npm run lint

Build

Run production build:

npm run build

Serve the built output on localhost http://127.0.0.1:8000:

npm start

Visualize build output

Run production build and start HTTP server to show bundle report:

npm run build:analyze

Known limitations

About

Polymer 3 starter built with Vaadin components and Vaadin.Router library, using webpack and modern tools

https://polymer3-webpack-starter.herokuapp.com


Languages

Language:JavaScript 87.7%Language:HTML 12.3%