Ability to read/compile .MD file from installed npm module #549
Labels
type: feature request
Request to add a new feature
version: next
Planned to do or already included in the next(1.0.0) version
Feature request
Ability to read/compile .MD file from installed npm module so that the docs with respect to a component being showcased can live in a different repo.
What problem does this feature solve?
So components docs can be in the same repo/package as the component it describes.
What does the proposed API look like?
Perhaps:
import CompDoc from 'installed-npm-package/README.md'
At which point the file is imported as the main template.
How should this be implemented in your opinion?
<script> import CompDoc from 'installed-npm-package/README.md' export default{ template:CompDoc } </script>Are you willing to work on this yourself?**
Yes but would like affirmation on suggested implimentation.
The text was updated successfully, but these errors were encountered: