Questions tagged [web-frontend]

A refinement of the more generic frontend tag. In a web application this usually means HTML, CSS and JavaScript

Related: frontend, css, html, javascript

1441 questions
9
votes
1 answer

Angular App dynamically load plugin without recompile

I'm trying to develop the frontend of my Web Api (NET CORE) pluginable application. I would like to use Angular 9 but im not an expert in angular. My backend was designed to be extensible and at startup it watches in a specified folder and if exists…
9
votes
1 answer

How to version front-end projects?

Semantic versioning brings the follow approach: MAJOR version when you make incompatible API changes MINOR version when you add functionality in a backwards-compatible manner PATCH version when you make backwards-compatible bug fixes However a…
9
votes
2 answers

Difference between frontend user authetication and backend user authentication

I was recently asked the difference between frontend user authetication and backend user authentication ( during an interview ). I could not come up with an answer to his question. He asked me if the authentication you see on the web all the time…
SaCh
  • 425
  • 1
  • 5
  • 17
8
votes
1 answer

AngularJS: Error: $q is not defined

I want to make a promise in my angularjs controller. I took the example from the Angularjs Doc and pasted it in my controller. When I try to run the code, the console prints: Error: $q is not defined Why is this error happening and how do I solve…
Metaphysiker
  • 983
  • 2
  • 18
  • 35
8
votes
2 answers

Is it possible to server-side render Haskell frontend with Ghcjs, Haste, Elm, etc?

I think that Haskell offers fantastic features. Also suited for Web development. However, one feature I miss. Server-side rendering. The reasons are Google indexing crawlers and pre-rendering to increase performance on mobile devices. Is it possible…
Jakub Kříž
  • 89
  • 1
  • 6
8
votes
2 answers

"Time to Interact" metric in web performance measurements

Apparently "Time to Interact" is the new metric to use when measuring the perceived speed of a webpage. I'm interested in understanding a bit more about what this actually is. The term was apparently coined by Radware, and is being pushed as the…
JonB
  • 1,320
  • 2
  • 15
  • 30
7
votes
3 answers

MUI - Open datepicker when clicking anywhere in the TextField

I have a date picker that I want to show when the users click anywhere in the field not just on the calendar icon. Here's the picker export function DatePickerField(props) { ...... return (
Yankz Kuyateh
  • 612
  • 1
  • 5
  • 18
7
votes
2 answers

Require Vue from JS file

i'm pretty new to modern frontend development tools. I installed Nodejs and NPM. Downloaded some packages (es: "jquery") and everything worked. Then I installed Webpack (vers. 2), I created this demo config file module.exports = { entry:…
Marco
  • 759
  • 3
  • 9
  • 22
7
votes
2 answers

SASS output from one sass file to multiple css files

I want to output multiple css files from one sass file. I have one file: schemes.scss, with code like this: $schemes: ( 'light': ( 'body-background': white, 'headline-color' : #111, 'subheadline-color': #222 ), 'dark': ( …
Tomasz Rozmus
  • 1,646
  • 13
  • 21
6
votes
2 answers

Web frontend to my Powershell scripts for helpdesk

I'd like to have a web frontend to my powershell scripts for helpdesk. These scripts would typically be user-creation scripts and scripts to restart a specific service on a specific server. Where should I start? What would I need? There is no…
Sune
  • 3,080
  • 16
  • 53
  • 64
6
votes
2 answers

Tailwindcss and Vue3 with Vitejs, need to restart server each time to see changes, Vite hot reload not working for tailwind classes

I'm trying to make a project in Vue3, tailwindcss and Vite for that I'm using this starter template mentioned on Vite js website: https://github.com/web2033/vite-vue3-tailwind-starter Now the problem is tailwind classes are not working on Vite hot…
Veerendra Singh
  • 155
  • 1
  • 10
6
votes
3 answers

What are the benefits of adding configs to package.json?

I have always placed different "tooling configurations" in their own files in my front-end projects. For example: babel in babel.config.js, jest in jest.config.js, eslint in an .eslintrc.json, etc. I have noticed recently however that it is…
Andrew Hill
  • 2,165
  • 1
  • 26
  • 39
6
votes
1 answer

How to hide data from network tab?

In my angular application if I go to dev tools network tab I will be able to see the response and request coming from the back end. Do anyone know how to hide or mask this data, is this possible if I do the server-side rendering?
6
votes
3 answers

How to make Fixed navbar with vue js?

I try build a landing page using vue.js, with header design like on the picture above. So, I create a component called "header",with contain content according to the design. How do I make a fixed navbar, when the page is scrolled the navbar is…
Yudi Krisnandi
  • 417
  • 1
  • 5
  • 12
6
votes
1 answer

How I display as image a blob object with JS

My function returns a blob object when I log it in my console: Blob(623853) {name: "profile.jpg", size: 623853, type: "image/jpeg"} I want to display this image to the user with JavaScript, how can I do it?
Mehmet Ali Peker
  • 701
  • 1
  • 6
  • 19
1
2
3
95 96