Questions tagged [vue.js]
The vue.js tag has no summary.
22 questions
10
votes
1
answer
4k
views
How & Should we use Clean Architecture in Front-end?
Just a little explanation:
"I'm used to be a solo front-end developer in my company and using default folder-structure and way of coding which vue-cli provided, it is good for a solo developer and ...
5
votes
1
answer
1k
views
How state stores are different from "global variables"?
Context: I am developing an amateur web application (with Vue.js), made up of components, and when reading about state management, the recommended solution is to use a store that gets updated by the ...
4
votes
1
answer
274
views
VueJs - composing components for large scale projects
I started getting into VueJs and Vuex development and I'm looking for a "mainstream" architecture for large scale projects. I think the question doesn't depend on whether you take a ready to use UI ...
3
votes
1
answer
178
views
Most simple way to design the map and collision of a PacMan WebApp game? (Vue.js) [closed]
I have a group project for my university in which we have to program a PacMan WebApp game in Vue.js.
I'm currently working on the map design and the collision. Since I'm a beginner I am looking for a ...
2
votes
1
answer
236
views
Vue.js Two Way Communication Using Objects As Props - Is this an Anti-Pattern?
Typically the way to communicate between parent <-> child component in Vue.js is to send the child a prop and emit an event from the child, which is listened to on the parent.
However, if you pass ...
1
vote
2
answers
201
views
Where should I put the .scss files in the scaffold?
I have developed an open-source vue.js scaffold which is based on my exprience and study on various vuejs
projects.
Currently it has a good structure(i think), but i'm nervous about is it good ...
1
vote
1
answer
150
views
Calling protected API from VueJS/Express via Access Token?
I'm trying to understand how Auth flows work within VueJS/Express Server to a protected API.
I have a situation where I need to call an API that is protected by JWT. To get this JWT, a client ID and ...
1
vote
0
answers
173
views
Does the React (and Vue.js) frameworks support extensibility?
Please forgive me if I am mixing up the terminology here, I'm a bit unfamiliar with it. I wanted to find a way to support extensibility in a web application; I wanted a web application that was ...
0
votes
2
answers
121
views
Transferring data from 1 web app into another offline
I have a web app that will be used locally on 2 different site. The program is a Vue web app made with node.js and express, using MySQL database. Due to limitation (no internet in site 1), there is no ...
0
votes
1
answer
144
views
Where to store important information needed for the UI in Vue? (Name etc)
I am writing an application using a C# backend and a Vue frontend, and I am a bit sceptical about where is best to store information about the user that is currently logged in.
There are a few posts ...
0
votes
1
answer
115
views
Where to store a props type declaration on a DDD project?
I am trying to apply DDD to a Vue project (so it's DDD on the frontend) and I have a doubt as to where store a props type. A Vue component can have props, which is basically named data passed to the ...
0
votes
1
answer
135
views
Am I understanding OAuth2 correctly and is what I am trying to achieve possible?
I am creating a web application which has three distinct components as far as I understand. A Nuxt frontend, and Spring Boot backend and Google OAuth2 for authentication using OpenID Connect. Nuxt can ...
0
votes
3
answers
2k
views
In which scenarios is server-side rendering is better choice than the front-end JS libraries like React, Vue, Angular etc.?
As a Java developer, I just have scratched the surface of Javascript libraries like React, Angular, Vue etc. It seems that theoretically any web applications with server side rendering, like Spring-...
0
votes
1
answer
72
views
Documenting JavaScript types received from API in VueJS
I'm using VueJS and have data coming as json via web API. The API is strongly typed, but in my Vue component, I don't have a good way of knowing what the types being passed are.
Given the following:
...
0
votes
1
answer
88
views
How to design a table component that stores data and also includes HTML code
I am developing a front end application given a back end with some API.
The application has two similar views. Both views make use of a big table that's also used as a form . For example, in the ...
0
votes
0
answers
75
views
Why does Vue.js rename / move all the internal data elements?
I'm following the code from Vue.js in Action, Chapter 3.
(much deleted for brevity...)
var webstore = new Vue({
el: '#app',
data: {
sitename: "Vue.js Pet Depot",
showProduct: true,
...
-1
votes
1
answer
495
views
How can I pass a large amount of data from a JavaScript client to the web server in bulk
I have a Vue/Quasar application that allows the end user to convert an Excel Spreadsheet into an Array and load it into a DataGrid. The Spreadsheet has a list of peoples names, email address, ...
-1
votes
1
answer
329
views
Allowing end users to upload a large amount of data using Excel
I've read Allow users upload CSV files, and embed the data for a simple API , Importing large data sets into a database over the web the closest concept is
Is there a way to efficiently allow a user ...
-2
votes
1
answer
286
views
Security implications of storing credentials in a .env file
I understand that credential leakage occurs reasonably often due to people forgetting to .gitignore a .env file
I'm building an application in VueJS and right now I'm storing some S3 credentials as ...
-2
votes
1
answer
79
views
Can a JavaScript SPA launch executables installed on the server?
Context
We have an application that is written in .NET and runs on a Citrix server. This app consists of shortcuts to external tools (like: DameWare, VNC viewer, mtsc.exe, msra.nexe, ...) that are ...
-3
votes
1
answer
107
views
How to engineer a "message read/message not read" fucntionality like the tchat apps or forums ones?
I am challenged to rebuild a support ticket manager app currently on legacy PHP code.
I plan to migrate to microservices + JS frontend technology like VueJS or React.
One of the app's page is a ...
-4
votes
1
answer
102
views
Which API building practice is better?
Im working on a ERP product, In which backend logics are to be APIs. Right now I have around
80 Tables.
Proposal 1: Creating CRUD APIs for all tables and manipulation of data to be handled in front ...