API to add resources
See original GitHub issueI’m trying to generate examples in StackBlitz for ng-bootstrap, in a way similar to the one used by the angular material documentation (see https://material.angular.io/components/datepicker/examples for example, which has links “Edit in StackBlitz”), using a form submitting to https://run.stackblitz.com/api/angular/v1/
I have no problem adding tags, description and files, but I have no idea how to generate an external resource (to the bootstrap css). How to do that? Is this API documented somewhere?
Additional request: Why are the images in https://stackblitz.com/angular/kbpdmobvaom?file=app/carousel-basic.html not loaded?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:12 (4 by maintainers)
Top Results From Across the Web
addResources: Add Resources—ArcGIS REST APIs
The add resources operation (POST only) allows to add new file resources to an existing item, for example, an image that is used...
Read more >Create a resource (REST API method) - IBM
This command takes a JSON request string or file. Use the following template for the request: { "agent": "Name or ID of an...
Read more >Resources - Thoughts on RESTful API Design
The fundamental concept in any RESTful API is the resource. A resource is an object with a type, associated data, relationships to other...
Read more >Add API resources - Akamai TechDocs
API resources are unique services in an API endpoint. You add resources by entering their basic information, such as name and path.
Read more >Creating a resource - Cloud Control API - AWS Documentation
For Cloud Control API to create a resource, you must specify the desired state of the resource you want to create. The desired...
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
Oh right. Thanks. I would still prefer using an external resource, because we have a hard time already explaining that jQuery and popper.js are not needed and shouldn’t be used with ng-bootstrap, since it’s a complete replacement of the bootstrap JavaScript that doesn’t rely on jQuery, but StackBlitz forces us to install those unneeded peer dependencies. It would also be aligned with our plunkr examples.
Regarding the logo, thank you. I tried using the attached PNG, but when reduced to the size of an icon (24x24), the inner white lightning becomes invisible and all we see is the blue brackets, making the icon look weird. So I’ll try using the one on a gray background.
Resolution is provided by @EricSimons above so this issue will be closed accordingly. f this issue persists, feel free to tag me or reopen this issue with screenshots of the error. Thank you! 😃