Custom Demo Link - bower.json
See original GitHub issueHi,
Published a new element: https://www.webcomponents.org/element/IswPolymerElements/isw-responsive-behavior
I want the demo to be full-screen, not in an overlay, so i set up an Github Page: https://iswpolymerelements.github.io/isw-responsive-behavior/demo/index.html
Added the demo link to the bower.json:
{
...
"demos": {
"Demo": "https://iswpolymerelements.github.io/isw-responsive-behavior/demo/"
}
}
But the demo button now opens an overlay with an error: could not fetch: https://cdn.rawgit.com/iswpolymerelements/isw-responsive-behavior/1.0.0/https://iswpolymerelements.github.io/isw-responsive-behavior/demo/index.html
Can i set the demo to an custom url? Can i set the demo to open in a new window and not in an overlay?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Bower — a package manager for the web
Create a bower.json file for your package with bower init . Then save new dependencies to your bower.json with bower install PACKAGE -- ......
Read more >Newcomers on board: Bower, npm & JSON editor! - Eclipse
Text folding on JSON Objects and Arrays; Editor extensions for custom hyperlinks, json schema validation & hover help. For installing specified dependencies ...
Read more >Managing third-party dependencies with Bower
This is a small introduction on how to use the frontend package manager Bower to manage the library and framework dependencies of custom...
Read more >Creating a package.json file - npm Docs
In your home directory, create a file called .npm-init.js . To add custom questions, using a text editor, add questions with the prompt...
Read more >amazon-rekognition-custom-labels-demo/package.json - GitHub
A demo to test Custom Labels with models trained by Amazon Rekognition - amazon-rekognition-custom-labels-demo/package.json at master ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Not currently, but this is something we could probably support pretty easily.
No, and I’m not really sure what a good way to specify that behavior would be.
What if we supported absolute paths which always opened in a new tab? In a way that kind of makes sense since wc.org is no longer hosting the demo. However this means there’s no choice involved. What do you think?
Any news on this? I’ve got the same problem. The links are read properly but the
rawgit
approach breaks everything.Example link