Polymer 3 starter built with Vaadin components and Vaadin.Router library, using webpack and modern tools
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.
Lumo version ↗ | Material version ↗
npm i
Start webpack-dev-server
on localhost http://127.0.0.1:3000
:
npm run dev
npm run lint:js
npm run lint:css
npm run lint
Run production build:
npm run build
Serve the built output on localhost http://127.0.0.1:8000
:
npm start
Run production build and start HTTP server to show bundle report:
npm run build:analyze
Check out material branch for Material version of the starter, and a full diff of changes.
import.meta
suggested by Polymer docs is not supported out of the box, see webpack/webpack#6719.
Support can be added with babel-plugin-bundled-import-meta or
webpack loader import-meta-url-loader