Comments (1)
Currently, for Polymer 3 the global Vaadin
namespace does not contain references to the components classes.
One possible solution:
- Use
vaadin-element-mixin
for following components:
- Lumo: https://github.com/vaadin/vaadin-lumo-styles/blob/f8a592226bf0fe7faf6ab20868d24c755fb48b6d/version.html#L8
- Material: https://github.com/vaadin/vaadin-material-styles/blob/3fcc14857ca75f6c898968f28bfac86ee627fa0f/version.html#L8
- Router: https://github.com/vaadin/vaadin-router/blob/82e6262becfb24a147ead5f2b89c31350130e437/src/router-meta.js#L6
- Update the
ElementMixin
to usestatic finalize()
and add thestatic get is()
getter value back toVaadin
namespace, e. g. toVaadin.registrations
similarly to how Polymer does that: https://github.com/Polymer/polymer/blob/0bf1e60c157b9ecdf56b6e308aeaea16d34ee04b/lib/mixins/element-mixin.js#L694
from vaadin-usage-statistics.
Related Issues (12)
- Using optout branch with bower --force-latest. HOT 2
- npm version should not depend on Polymer 3
- Optout instructions for npm
- Usage stats not working
- options in package.json HOT 3
- optout + build failed HOT 3
- Output message only once per installation HOT 9
- Missing export with "npm i --ignore-script"
- Create TypeScript definitions for P3 HOT 1
- Missing script disable in 2.1.1 HOT 2
- Synchronize release with version defined in package.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vaadin-usage-statistics.