stencil-site icon indicating copy to clipboard operation
stencil-site copied to clipboard

Incorrect or incomplete information for "importing the dist library"

Open mrtnmgs opened this issue 3 years ago • 0 comments

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.

mrtnmgs avatar Nov 14 '22 17:11 mrtnmgs