David MARTIN
David MARTIN
there is also an old PR #2354 And I'm using `docs-custom` to create the `custom-elements-json` file for storybook as explain here https://github.com/ionic-team/stencil/pull/2354#issuecomment-627503893
@jpzwarte you have to generate a custom-elements.json file by adding config in your stencil.config.ts ```javascript import { Config } from '@stencil/core'; export const config: Config = { namespace: 'roadtrip', outputTargets:...
@jpzwarte I didn't try in a MDX story.
@jpzwarte you don't have to import something else, Storybook use the data generated in the custom-elements.json to display props.
@wjureczka a folder has been removed or moved in the storybbok repository. You can still find the link here: https://github.com/storybookjs/storybook/tree/v6.1.21/addons/docs/web-components but the solution isn't up-to-date anymore, the `docs-vscode` output isn't...
@deleonio I think there is a misunderstanding, the point here isn't to integrate Storybook in Stencil codebase, but make the integration of Stencil components and documentation easier in Storybook. But...
@zimaah the cons of using an underdog is that they have almost no integrations with other tools and a smaller community to help you when you're stuck... In the other...
a small "fix" when waiting a fix from Vue 3 ``` // Apply polyfills and declare components applyPolyfills().then(() => { defineCustomElements(window, { ael: (el: any, eventName: string, cb: any, opts:...
At work, we are using [Polyglot](https://github.com/airbnb/polyglot.js). But I referenced [the libs](https://github.com/dmartinjs/awesome-stenciljs#stencil-internationalization), I saw in most exemples in articles. I'll write an exemple here and provide a PR for the documentation...
Hello @runarberg can you share you `docs-custom` function ?