A tool to migrate html components and T.Lemon classic library to T.Lemon Component Library.
Make sure you have installed T.Lemon Component Library before using this tool.
Click on this link and follow the directions to set up T. Lemon Component Library.
To install and set up the library, run:
$ npm i tlemon-migration-tool
Step 1:
Create the tlemon-migration-config.json file in the root of the Angular project and specify the root directory path in which you want to migrate all files.
{"root": ""}
Leave empty for default root path "...\src"
Step 2:
Add script in package.json file
"scripts": {
"ng": "...",
.....
"migrate": "node ./node_modules/tlemon-migration-tool/dist/index.js"
}
npm run migrate
- input with types
- text
- password
- checkbox
- radio
- option
- select
- textarea
- button
- img
- label
- dialog
- anchor
And also it migrates the T.Lemon classic library to the T.Lemon component library.