New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lit: Initial lit2 support #14600
Lit: Initial lit2 support #14600
Conversation
…vor of addon control
`babel-loader` is required in the context of `builder-webpack4` so there is no no need to have it as a dep.
@gaetanmaisse these last set of changes (addon-docs/babel-loader stuff) look good, but probably should be in their own PR! |
Yep @shilman, I will open a PR with these and maybe some other related stuff ;) |
The goal is to avoid adding dependencies related to the example in the SB codebase workpaces. Considering this example as a stand-alone workspace make it works in a more realistic way. Working on things in `@storybook/lit` and want to test them in lit-kitchen-sink? Run: - `yarn build lit --watch` in the monorepo root folder - `yarn install` then `yarn storybook` in lit-kitchen-sink folder You're good to go, both changes in the example code or in `@storybook/lit` will be reflected in the UI.
@@ -3,3 +3,5 @@ | |||
This example directory represents the application you wish to integrate storybook into. | |||
|
|||
Run `yarn install` to sync Storybook module with the source code and run `yarn storybook` to start the Storybook. | |||
|
|||
When developing things in `@storybook/lit` you can run `yarn build lit --watch` in the root folder of the monorepo and both changes in the example code or in `@storybook/lit` will be reflected in the UI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NICE 💯
… is providing it" This reverts commit a652a01 as it needs some extra work that should be done in a separated PR
Nx Cloud ReportCI ran the following commands for commit 3cc3da4. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch
Sent with 💌 from NxCloud. |
…command for now As `lit-kitchen-sink` is not part of the monorepo it requires some extra work to make it build properly as we need to install deps first.
@gaetanmaisse Looks good to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great @brion-fuller @gaetanmaisse 💯
@@ -0,0 +1,9 @@ | |||
enableGlobalCache: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Configs are inherited from the parent recursively so you probably don't need this config
Issue: #14455
What I did
Initial start to setting up lit framework