Skip to content

Ability to read/compile .MD file from installed npm module #549

Closed
@randyhoulahan

Description

@randyhoulahan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: feature requestRequest to add a new featureversion: nextPlanned to do or already included in the next(1.0.0) version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions