WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Incorrect or incomplete information for "importing the dist library" #933

@mrtnmgs

Description

@mrtnmgs

https://github.com/ionic-team/stencil-site/blob/master/src/docs/output-targets/dist.md

The last 2 paragraphs on the Output Targets > dist page are identical, and either incorrect or incomplete. They state:
"Add an import within the root component: import my-component;"
What is the root component? Are we talking about importing a component within another one? If so it seems out of place in this section which deals with distribution of the package / components.
I'm not sure it's actually what this paragraph is about, since afaik components are available from another component without having to import them.
If it's a javascript import declaration it's missing quotes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions