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

Some demo example links only function when developing x-element #265

Open
klebba opened this issue Feb 19, 2025 · 0 comments
Open

Some demo example links only function when developing x-element #265

klebba opened this issue Feb 19, 2025 · 0 comments

Comments

@klebba
Copy link
Collaborator

klebba commented Feb 19, 2025

A dead simple starting point for custom elements.

Examples

- [chess piece](http://localhost:8080/@netflix/x-element/demo/chess)
- [integrating with lit-html](http://localhost:8080/@netflix/x-element/demo/lit-html)
- [integrating with µhtml](http://localhost:8080/@netflix/x-element/demo/uhtml)
- [wrapping in react](http://localhost:8080/@netflix/x-element/demo/react)
- [run tests](http://localhost:8080/@netflix/x-element/test)
- [performance](http://localhost:8080/@netflix/x-element/demo/performance)

The run tests and performance links will not function post-installation — we should consider moving these off to /dev or some other subfolder to avoid confusion/frustration

GET http://localhost:8080/@netflix/x-element/node_modules/@netflix/x-test/x-test.js net::ERR_ABORTED 404 (Not Found)

GET http://localhost:8080/@netflix/x-element/demo/performance/default.html?test=inject 500 (Internal Server Error)

Error 500: Unknown MIME type for file extension: .html?test=inject
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

No branches or pull requests

1 participant