question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

API to add resources

See original GitHub issue

I’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:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jnizetcommented, Jan 17, 2018

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.

0reactions
purplem1lkcommented, Apr 23, 2021

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! 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found