This npm package helps you find related files in an Ember.js project. It supports various Ember file structures, including pod components, colocation components, and classic components.
npm install ember-related-filesThis npm package helps you find related files in an Ember.js project. It supports various Ember file structures, including pod components, colocation components, and classic components.
To install the package, run:
``sh`
npm install ember-related-files
`ts
import { emberRelatedFiles } from 'ember-related-files';
emberRelatedFiles('app/components/my-component.js').then((relatedFiles) => {
relatedFiles.forEach(file => {
console.log(${file.label}: ${file.path});``
});
});
This project is licensed under the MIT License - see the LICENSE file for details.