Questions tagged [single-page-application]

A single-page application (SPA) is a web application that fits on a single web page with the goal of providing a more fluid user experience akin to a desktop application.

0
votes
0answers
14 views

Which response from server is the one that needs to have security headers

In this scenario I have a single page application lets say: mysamplesite dot something. This returns an html to the browser. In the html there are javascript files that are then downloaded by the ...
0
votes
0answers
14 views

Proper use of Vue when building an app: scrollable page with anchors or component sections?

Looking to use Vue to rebuild a UI that has tabs. Which makes more sense to use Vue. I would image #2, as #1 feels like it's just a use-case of regular HTML with anchor tags: 1) if I wanted a top ...
0
votes
0answers
7 views

SystemJS: Application died in status LOADING_SOURCE_CODE: Cannot find module

So, we are in the process of setting up a larger application consisting of several React apps. We are using the single-SPA framework and got the single-spa-portal-example running. In the example, ...
1
vote
3answers
24 views

How to access image from /storage -laravel- from SPA with vuejs

if i put an image in "storage/app/public/img/logo.png" and execute:  $ php artisan storage:link How i get that logo.png in vue component? <img src="storage/app/public/img/logo.png"> The ...
0
votes
1answer
28 views

Fetch As Google Is Showing Blank Page - Reactjs

I have a Reactjs (v.16.6.3) page which its SEO is important to be indexed by Google. Therefore, I checked it with Fetch as Google tool to know what Google-bot renders from this page. However, google ...
-1
votes
0answers
21 views

pouchdb / couchdb sync security hackable?

Is it possible for a hacker to modify my data that gets put into offline pouchdb then syncs to online couchdb? Yes I will have ssl enabled on the server. In my current setup. vue.js spa for pwa ...
1
vote
1answer
20 views

How to connect multiple Raspberry Pi's (v3) to Django for a SPA

So I'm trying to make a SPA to read different raspberry pi's sensor values on real time, and to change them as well. I've got some knowledge on Django, SQL, React and JS. As I lack experience using ...
0
votes
0answers
20 views

Read only api with no authentication

I have a SPA that gets data from an api. The application does not require a user to be authenticated for them to view the content. This has lead me to place the unauthenticated get endpoints as read ...
0
votes
0answers
25 views

Mui DataTable custom summary footer

Given the follow example: https://codesandbox.io/s/l49mrmvj67 Will it be possible to add a custom footer that will sum the current page Salary column and display it in the footer? Thanks for the help....
0
votes
0answers
9 views

Is it common to use a session not oauth2 in SPA(Single Page Application)?

In SPA, token-based authentications such as JWT auth, Oauth2 are commonly used in many project samples. Which authentication is technically better in SPA?
0
votes
0answers
18 views

Facebook Pixel JSON-LD on a single page application

I am trying to create a product catalog on Facebook using their pixel. The docs are here: https://www.facebook.com/business/help/887775018036966 Facebook detects the product information using the ...
0
votes
1answer
17 views

Why do I need to call UseSignalR before UseSpa in Startup Configure

I had a frustrating problem using SignalR in an .Net Core web application that was isusing Angular as a SPA. On SignalR negotiate from the client the web server would respond with a 404 error. The ...
2
votes
2answers
37 views

How do you handle bearer token based auth when requesting an image on html?

I would like images on html to be downloaded only for authenticated users. So, for example, I have written the following code. [Client-side] <img src="/image/showWorkImg?fileName=...
0
votes
0answers
18 views

Background task scheduler implementation at Single Page App

I am working on DApp (single page app) that uses IPFS (localhost). Suppose I want to publish a file on IPFS that user uploads on a localhost. I think to split the task: 1.) First I am accepting the ...
0
votes
1answer
11 views

Loading bar process on a TCP connection

So, from what I can tell from TCP packets (which comprises most of the traffic you will deal with in a browser), they are ordered, but without the upper bound. Meaning, the packet header will say '...
0
votes
0answers
12 views

Google Analytics Cookies for SPAs

I have a single page application and I need help about google analytics. I am adding a functionality to disable cookies to the website. But when a user accepts cookies google analytics doesn't sent ...
0
votes
0answers
22 views

Angular unwanted scrolling to top at specific tabs

I have a Single Page Application, written in Angular 6. There is a requirement to have every tab of the page load at the top, so I implemented a function on my main-navigation component (that is used ...
0
votes
0answers
16 views

How can I use webpack to modularise my html and js files?

Essentially, I want to create a single page application with modular code ( 1-1 mapping between html and js files which can be bundled together in build ). I want to use webpack for the task. What ...
0
votes
0answers
19 views

Build angular and refresh browser on saving files in Visual Studio 2017?

I am building an asp.net core 2.2 web app with Angular SPA template. Until a few days ago I could see the browser refresh and reflect changes made on html and typescript files in Visual Studio 2017. ...
1
vote
4answers
117 views
+100

How can I add an external javascript tag to an Ember JS app without touching the index.html?

Is it possible to load an external javascript resource in Ember without touching index.html? If I could add to html, I would simply add the following and it works. <script type="text/...
-2
votes
0answers
14 views

What are the Popular IDEs available for Web Development Applications to build Single page Applications using Web API [closed]

What are the Popular IDEs available for Web Development Applications to build Single page Applications using Web API ? Required Tools that very friendly with web developers & designers
0
votes
0answers
11 views

SPA endpoints in nginx [duplicate]

I have a single SPA deployed, and I want to be able to access my routes directly through the browser. My current situation: I have deployed a SPA with nginx, that uses different endpoints as routes ...
0
votes
0answers
24 views

Capture data sent by POST via iframe to another website

:) Hi I know very little about AngularJS and I'm currently in a blockade that I can't find a solution to. I have a singlePage in AngularJS which makes a call to some services this OK without ...
0
votes
2answers
59 views

Do we need to authenticate for Internal Microservice?

I have a spa app and three APIs (A, B, C) A, B are public microservices and C is internal microservice. Which way is best for that? 1. First way SpaClient Scope = A, B, C Spa App gets a token of ...
0
votes
2answers
33 views

Reloading or refreshing page removes authorization in vue.js

I'm using social authentication using the vue-google-oauth2 library. It works fine as I am able to authenticate my self and I receive a token from the backend too. When initially I log in, and by ...
0
votes
0answers
21 views

Add firebase ui with script tag

I develop a spa with nuxt. I try to add firebase ui to the project. I use the instruction on github In the head, I put this in the head <script src="https://www.gstatic.com/firebasejs/ui/3.5.2/...
0
votes
1answer
50 views

Integrating Angular 7 with existing Java Application

I am new to angular. My current application is build in Java with JSP using YUI library. In our application we have multiple tabs. Is it possible to switch to Angular 7 with same application for one ...
1
vote
0answers
19 views

Protect individual static files in ASP.NET web application

I have an requirement where I have to protect individual static files in an ASP.NET (not ASP.NET Core, yet) application. Background: We have a SPA (Angular) which will be deployed into the /dist ...
0
votes
1answer
31 views

How to use right syntax to pass data between routing pages in jQuery based single page application?

Sorry for my grammar, please correct me if I have any mistakes. I am currently applying to a small SPA projects with spa-master spa-master - github. spa-master - Detailed Description vipspa - ...
1
vote
0answers
48 views

SPA Authenticating with AAD using msal.js experiencing infinite redirect loop

I am writing an SPA using Vue.js, authenticating the user from Azure Active Directory (AAD) using OAuth and OpenID. I have searched for a long time for the best way to do this, and have consistently ...
-1
votes
1answer
36 views

Separate backend API for frontend and other services

I have SPA app with backend REST API (Symfony) with JWT authentication and necessary methods to communicate with my frontend app (Angular). And now i want to add another service ( Magento ) to ...
0
votes
0answers
14 views

How to remove relative path in webpack-file-loader for static files (spa application)?

The problem that production server returns index.html for every request except /static and /assets So if we are on site.com/module/reports, application will ask for assets like this : site.com/module/...
1
vote
1answer
38 views

Apache settings for SPA using HTML5 History routing

My team recently updated our legacy SPAs routing implementation from hash-based to HTML5 History routing. Now we need to update our Apache settings to allow “clean URLs” to be handled by the SPA. This ...
0
votes
1answer
32 views

What is an appropriate HTTP status code for a flow where a client is asked for more information before proceeding?

We have a single page application which has a series of forms required to process a complete "new application". Steps like "enter email", "verify email", "verify mobile number", etc The flow of the ...
0
votes
0answers
95 views

Blazor Child Components

I'm looking for a way to transmit implicitly params from Parent Component to Child Component. Let me explain : I have coded a Component called InputValidation in order to validate an input (binded by ...
0
votes
1answer
26 views

display current json object js

I am doing e-commerce bookstore vuejs single-page-application website. I need to display particular (current) data (like title, cover etc.) from specific book in json when I choose it. { "books": [ ...
0
votes
1answer
30 views

Handling missing properties in API responses

How should I handle missing properties in an API response from the backend? I have a React app and I fetch some data from backend. Then I use this data to render some elements and also to handle some ...
0
votes
1answer
41 views

How to remove Bootstrap styling in angular SPA?

I am trying to modify an ASP.Net Core 2.2 Angular SPA stylings. I see that certain webpack:///./node_modules/bootstrap/scss/_reboot.scss is generated at runtime. I want to define the styles myself ...
0
votes
1answer
22 views

AngularJS - redirect from dynamicaly generated menu

I have problem with redirecting to another pages inside my app. I have dynamicaly generated menu (using devExtreme treeView component). I included angularjs and angular-route, created routing in ...
0
votes
3answers
28 views

What is the benefit of dockerize the SPA web app

I dockerize my SPA web app by using nginx as base image then copy my nginx.conf and build files. As Dockerize Vue.js App mention I think many dockerizing SPA solutions are similar. If I don't use ...
-1
votes
0answers
31 views

Best Practice for Sharing Data Between 2 Single Page Apps?

Is there a recommended best practice for sharing complex object data between SPAs? For example, say the object data is a list of movies with nested objects for each movie, as well as several other ...
1
vote
1answer
40 views

Firebase Functions Custom Domain with Single Page App

I have a Firebase hosted single page app. I also have 3 Firebase functions (contact, plans, features) that the app and external sources make requests of. My app has a custom domain, which I'd like ...
0
votes
0answers
17 views

Can Facebook Pixel detect metadata of content loaded dynamically(SPA)?

We have an angularJS ecommerce website with a Facebook pixel installed - we would like to create a Facebook Product Catalogue using the Facebook pixel as a data source. According to Facebook we need ...
0
votes
1answer
68 views

React/Vue (Or any other similar framework) MPA implementation

I am new to React and Vue frameworks. I am learning how to build simple SPA from courses, but there are no courses for MPA/SPA. For example when I need website with 3 parts: Registration form, Login ...
-1
votes
0answers
16 views

Angular - Building what feature modules appear in SPA as part of release process

I have a SPA in Angular which contains several feature modules (that are lazy loaded). I would like to Be able to specify what modules become part of the release as part of a release process as ...
0
votes
0answers
23 views

Angular 2+ - creating separate packages for core and shared and managing these in GIT

I am a bit new to GIT so not sure if this is possible / sensible. However I have an SPA app that has some folders that could be shared across multiple applications (core and shared in image below) ...
0
votes
1answer
27 views

Running Multiple Single Page Applications Under One Parent Application

This may be a wild question. My problem is this. We have multiple single page applications that service different parts of our customers businesses. E.g. Application A - an Angular SPA on one URL ...
-1
votes
0answers
22 views

How to separate a dashboard and a fronted with a Vue spa

My question is not technical but I am trying to figure out the best way for me to separate my dashboard code which only authenticated users can access and the regular front end. I am using a Vue spa ...
0
votes
0answers
34 views

What's the best way to prevent CSRF attacks in a Vue.JS SPA that has a Python (AWS Lambda) back end?

For my current project, I'm writing a Vue.js single page application (which I'm storing on AWS S3 and serving through Cloudfront). My SPA will connect to an API which is written in Python as a series ...
0
votes
0answers
17 views

Is it possible to make a layout with reactive sandwich menu in angular material?

I was trying to figureout if it is possible to do use angular material component to do a reactive sandwich menu, that automatically grow in desktop environment, only shows some kind of icons when in a ...

http://mssss.yulina-kosm.ru