1,005 questions
0
votes
0
answers
80
views
Conflicting peer dependency [email protected] while installing @vercel/analytics to a Nuxt 3 App
The app runs good both locally and in production.
Three months ago I did another project using Nuxt 3 which has @vercel/analytics installed in him. Installing it using npm i @vercel/analytics worked. ...
1
vote
2
answers
396
views
What is the correct contract for ngAfterContentInit and ngAfterContentChecked
I have created a demo project:
https://stackblitz.com/edit/angular-e6pqlb?file=src%2Fcontent-host%2Fcontent-host.component.ts
Please open above link and check console printed values to understand my ...
0
votes
2
answers
78
views
CartAddItem Wont add the URLSearchParams for Redux. Cant get location.search for Quantity props for my Cart - Shop Website
Following an old MERN Shop Brad Traversy course, and I'm trying to use URLSearchParams because of the location.
Search in the course isn't updated and gives endless bugs.
Practically, I just want to ...
1
vote
1
answer
531
views
ReferenceError when trying to add logic to a Fresh page
I'm trying to create a website with the Fresh framework, in particular I was trying to put a simple drop-down feature of a button inside a navbar, but I'm not sure where to put the code needed. I've ...
0
votes
2
answers
851
views
How to import vForm globally in index.js using Vue js 3
I want to register vForm in index.js globally in Vue js 3 but not work, while using vuejs 2 it work like Vue.component(Form) in Vue Vue js 3 how to define once and usable in all window or component, ...
1
vote
3
answers
2k
views
How can I comment out some HTML code defined into the return() method of a React component? [duplicate]
I am very new in ReactJS and I am facing this problem: how to comment out some HTML code defined into the render() method?
For example I have a component like this:
import React, {Component} from '...
2
votes
2
answers
684
views
How can remove the port number from live vue site url?
while running the yarn serve I don't what to display the port no from the URL. Now, this is showing like https://example.com:8080. I want to access them from https://example.com.
vue.config.js
module....
0
votes
1
answer
264
views
Angular(+11) Mono Repo different from other versions
What is Angular(+11) Mono Repo and how is it different from the other versions of Angular and should you know TypeScript for Angular (+11) mono Repo? I'm trying to find a course to learn more about ...
0
votes
1
answer
91
views
Vuejs didn't install basic html files and folders after creating new Project
please I'm new to Vuejs and after installing Vuejs/CLI i created a new project with vue create test then i prompt me to choose between three options which are
> Default ([Vue 2] babel, eslint)
...
3
votes
1
answer
14k
views
Why I have this problem with PrimeNG FileUpload component related to the url parameter that referer to a page that doesn't exist
I am working on an Angular application using PrimeNG and I am finding some difficulties with the PrimeNG FileUpload component, this one: https://primefaces.org/primeng/showcase/#/fileupload
I was ...
-3
votes
1
answer
464
views
Which Javascript framework is best for my fast loading image rich portfolio website [closed]
I want to rewrite my portfolio. I want my website to load faster than the current version. Also my portfolio will contain lots of images and I have used CDN for it. For my current version I used ...
0
votes
0
answers
408
views
How to download React components for offline use
Is there a way to download React components and also have full javascript functionality? For example, a table component that still can be sorted without a network connection. Offline-first seems to ...
0
votes
2
answers
173
views
Why am I obtaining this error message retrieving objects from a JSON file after this FormArray changes in my reactive form?
I am working on an Angular project using reactive form and introducing FormArray (beacause I have a situation where a field is dinamically created as multiple fields) I am facing the following problem....
5
votes
2
answers
11k
views
How to set the red border of invalid p-inputNumber PrimeNg form component via CSS?
I am working on an Angular project using PrimeNG and I am going mat trying to correctly set the style for some invalid form field.
In the specific in my form I have field of this type:
<input id=&...
0
votes
1
answer
385
views
How can I get content type from response when there is a proxy ajax call in extjs?
In the below code, I make a proxy ajax call to the server. When the session is active, I receive the expected json format but when the session is inactive, I receive a html file as response.
Ext....
0
votes
1
answer
2k
views
How to check if the response received from server is html or json and find the html form by name in extjs?
I have an extjs application that sends an ajax request to the backend. The backend will send the objects which are json format if it is an active session and a html page if the session is inactive
I ...
2
votes
0
answers
170
views
Component view doesn't render with React Navigation
I'm using React Navigation v5 for navigation in my app. User signs up to the application and right after signing up, the user is navigated to the ExtendedRegisteration Screen. After extended ...
0
votes
0
answers
90
views
AngularJS $http request OPTIONS and POST
I'm trying to get the POST error response in $http AngularJS, but when I watch the response variable in catch, I get the preflight OPTION response. How can I get the POST response, instead of OPTION?
...
2
votes
1
answer
124
views
Performance: listen to all form elements changes to sync all dynamic attributes with new data
There is a simple form:
<form>
<input type="checkbox" name="checkbox"> Checkbox
<input type="email" name="email">
<button>Submit</button>
</form>
Task ...
0
votes
2
answers
670
views
Sharing data with @Input and @Output in Angular components
I can't figure out why an event is required to share from child to parent (@Output), while @Input() works fine for parent to child.
What if we want to share data with parent component without ...
0
votes
2
answers
57
views
I don´t know how select HTML Class attribute handled in Javascript toolkit Framework
I am using the Electron Framework in Javascript called Xel toolkit, and I have the following syntax from main.js:
document.querySelector("menu.selected").className.remove('selected')
Having some Xel ...
4
votes
2
answers
6k
views
In Vue can you call the created() function from a method?
So I'm making an app in vue, on page load it takes a cookie with the user's zip and performs a search using that zip, but the user is also allowed to change that zip if its wrong so I want to be able ...
1
vote
1
answer
839
views
Use v-if for a specific element in a v-for
So I have the following HTML on my Vue page
<div v-for="profile in lab.profiles" v-if="edit || profile.active" class="lab-tests-row-div" @mouseover="">
<div class="clickBox" :...
0
votes
0
answers
575
views
How can I recognize the event related to the click on the default first element into a dropdown menu?
I have the following problem using Angular and the PrimeNG DropDown element, this one: https://www.primefaces.org/primeng/#/dropdown
Note before to start: as you can see in the previous page this ...
1
vote
1
answer
402
views
Why am I obtaining this error trying to bind the properties from an Angular parent component to a child component?
I am very new in Angular and I am finding some dificulties trying to add a component and use it into a project on which I am working on.
I have a parent component view that contains thE referenceS to ...