Skip to content
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

[scoped-elements] Examples are not working out-of-the-box and docs are bit outdated #2653

Open
ChristianUlbrich opened this issue Mar 30, 2023 · 0 comments · May be fixed by #2654
Open

[scoped-elements] Examples are not working out-of-the-box and docs are bit outdated #2653

ChristianUlbrich opened this issue Mar 30, 2023 · 0 comments · May be fixed by #2654

Comments

@ChristianUlbrich
Copy link

Expected behavior

I expect the ScopedElements demo to simply work, if I call them with their corresponding npm scripts:

  • Either yarn workspace @open-wc/scoped-elements start:with-scope or (inside the package) npm run start:with-scope.

Actual Behavior

They do not work, because wds is seemingly configured with a wrong appIndex, running: npm run start:with-scopewill open a browser pointing to http://localhost:8000/packages/scoped-elements/packages/scoped-elements/demo/with-scope/ instead of http://localhost:8000/packages/scoped-elements/demo/with-scope/

Additional context

master branch, @open-wc/scoped-elements@2.1.4. Furthermore README.md is mentioning lerna to run commands for packages individually, but it seems lerna has been long gone...

@ChristianUlbrich ChristianUlbrich linked a pull request Mar 30, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant