Questions tagged [stackblitz]

StackBlitz is an online IDE powered by Visual Studio Code, used for creating web applications. It provides rich editing and sharing features, like CodePen or JSFiddle. Use this tag when you have a question about one of its features or when you are encountering a problem in conjunction with using this tool for programming.

StackBlitz is an online IDE for web applications, powered by Visual Studio Code. It provides rich editing and sharing features, like CodePen or JSFiddle.

StackBlitz

236 questions
0
votes
1 answer

Angular 16 Animations Module causes NG05100 error in Stackblitz

I can't get Angular Animations to work on my standalone components which I posted another question about here a couple weeks ago. I'm trying to create a stackblitz demo to add to it as well as get help from others elsewhere which can be viewed…
Optiq
  • 2,835
  • 4
  • 33
  • 68
0
votes
1 answer

Importing Angular component in new Stackblitz standalone Angular starter

Stackblitz has defaulted their Angular starters to opt-in to the new standalone Angular components. With this change, I'm encountering issues importing my custom component (FirstComponent) into their new "main" component declared in main.ts. This is…
Manish Giri
  • 3,562
  • 8
  • 45
  • 81
0
votes
0 answers

Importing Leaflet in Angular 16 Stackblitz?

Trying to import leaflet in this Angular 16 Stackblitz: https://stackblitz.com/edit/stackblitz-starters-kw6bmy?file=src%2Fmain.ts It has both @types/leaflet and leaflet packages installed, however it produces the error. Could not find a declaration…
Ole
  • 41,793
  • 59
  • 191
  • 359
0
votes
1 answer

How to show values of a Javascript Set() in Stackblitz console?

I've been using stackblitz as a scratchpad for learning and testing javascript. I find it very convenient to use the real time console updates while logging out lines of code. One problem I've encountered is how the console outputs the results of a…
js-newb
  • 421
  • 6
  • 16
0
votes
1 answer

How can I add custom font in static html project in stackblitz.com website, (fontface, ttf files) nothing seems to workout?

I created fonts folder, and placed mercury_font.ttf, still not working. @font-face { font-family: 'Official'; src: url('fonts/Mercury_Bold.ttf') format('truetype'); } body { margin: 0 auto; max-width: 35em; padding: 4em 1em; color:…
0
votes
1 answer

My TensorFlow model keeps making the same incorrect prediction no matter what

I'm learning TensorFlow, and I finished making a model that can predict handwritten digits using the MNIST data set. And it runs great when I test the model in my Python environment. After making the model, I wanted to try making a web application…
Bonzai
  • 17
  • 1
0
votes
0 answers

Window.onload is not firing inside my stackblitz project

I want to fire function call on window.onload event. But inside my stackblitz project this is not firing at all. window.onload = function () { console.log('loading...'); }; You can check out the same inside stackblitz demo link here I have to add…
GRD
  • 208
  • 2
  • 6
0
votes
0 answers

How can I deploy my StackBlitz website and fix the error or stuck loading issue on a new tab?

How do I deploy this website? I created a website on StackBlitz. The preview runs fine, but when I open in a new tab I get an error or the blue loading bar appears on the website and never finishes loading. The website itself is pretty simple, just…
0
votes
2 answers

Adding more Angular standalone components to the default Stackblitz App component?

I created a second standalone AppNavComponent component on Stackblitz. import { Component } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterOutlet } from '@angular/router'; @Component({ standalone: true, …
Ole
  • 41,793
  • 59
  • 191
  • 359
0
votes
1 answer

Angular stackblitz Error: Uncaught (in promise): Error: Providers from the `BrowserModule` have already been loaded

I have something working locally on my computer that I can't get working in StackBlitz: Error: Uncaught (in promise): Error: Providers from the `BrowserModule` have already been loaded. If you need access to common directives such as NgIf and NgFor,…
JimmyTheCode
  • 3,783
  • 7
  • 29
  • 71
0
votes
0 answers

Angular standalone component error: "Object literal may only specify known properties, and 'standalone' does not exist in type 'Component'.(2345)"

I'm trying to create a simple component on stackblitz. I have generated a new component and then tried to add the line standalone: true: import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-standalone', templateUrl:…
JimmyTheCode
  • 3,783
  • 7
  • 29
  • 71
0
votes
0 answers

cannot create stackbltiz with fullcalendar

I want to create a stackblitz with fullcalendar but I got this error code: Error in /turbo_modules/@fullcalendar/core@6.1.7/internal-common.cjs (3:14) Cannot use import statement outside a module Stackblitz link
0
votes
0 answers

Stackblitz: Vue + Vuetify + Firebase Auth

Is there a way to use Stackblitz for development with vue3, vuetify and firebase auth? Here is what I got so far: https://stackblitz.com/edit/vue-xwk34s?file=src/main.js Vuetify I added vuetify as dependency and followed the instruction from their…
gerd hübner
  • 423
  • 3
  • 14
0
votes
1 answer

ngx-capture : Unable to capture whole page

hello i am using https://www.npmjs.com/package/ngx-capture for capture image, but i am facing some issue,it is capture area which is only visible to the browser, is there any solution to capture whole page or whole div. i have check and find this…
13hola
  • 170
  • 1
  • 12
0
votes
0 answers

React SPA freezes when changes fired to Firebase Realtime DB

I have a shoppinglist app that uses Firebase Auth and Realtime DB. I had it working fine before I added the Auth functionality, but now when I login and try to add item or edit, or click anything that is rendered from database the app freezes and I…