Skip to content

vaadin-bot/polymer-to-lit

This branch is 28 commits behind Artur-/polymer-to-lit:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 23, 2022
25914b7 · Sep 23, 2022

History

89 Commits
Sep 23, 2022
Sep 23, 2022
Sep 21, 2022
Sep 12, 2022
Sep 13, 2022

Repository files navigation

Rewriting frontend files

The frontend tool is in the frontend folder

To test this tool, do the setup dance once

cd frontend
npm install
node_modules/.bin/tsc convert.ts

Then run it and give it a Polymer JS file as the only argument

node convert.js in/grid-columns.js

This will convert in/grid-columns.js into a Lit element and place the output in in/grid-columns.out.js

Rewriting Java files

The Java tool is in the java folder

To test this tool, do the setup dance once

cd java
mvn package

Then run it and give it a PolymerTemplate Java file

mvn exec:exec -Dfile=/my/project/src/main/java/my/package/MyTemplate.java

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 72.8%
  • Java 26.8%
  • Shell 0.4%