Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iamdtang/create-js-for-template-only-components
https://github.com/iamdtang/create-js-for-template-only-components
ember emberjs
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/iamdtang/create-js-for-template-only-components
- Owner: iamdtang
- Created: 2020-01-15T01:55:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-15T06:13:03.000Z (about 5 years ago)
- Last Synced: 2025-01-17T23:11:57.845Z (12 days ago)
- Topics: ember, emberjs
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# create-js-for-template-only-components
In order to enable [`template-only-glimmer-components`](https://guides.emberjs.com/release/configuring-ember/optional-features/#toc_template-only-glimmer-components) in an existing application, a `.js` file needs to be created for any existing template-only components. This will maintain backwards compatibility for existing templates while new template-only components gain the advantages of this feature. This script will create those missing `.js` files for you.
Run the following from the root of your project:
```
npx create-js-for-template-only-components
```Working with Emblem?
```
TEMPLATE_EXTENSION=".emblem" npx create-js-for-template-only-components
```This does not work with pods.