Questions tagged [vue.js]
18 questions
9
votes
1 answer
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 small applications, but the project is going to…

SeyyedKhandon
- 241
- 2
- 8
4
votes
1 answer
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 components.
Over the last 30 years, I have been…

WoJ
- 1,551
- 1
- 11
- 16
4
votes
1 answer
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 Framework like Vuetify, Bootstrap-Vue or Buefy or…

Question3r
- 155
- 11
1
vote
2 answers
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 enough for a chat scaffold and the goal of this…

SeyyedKhandon
- 241
- 2
- 8
1
vote
0 answers
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 similar to Microsoft Azure DevOps, where in the web…

michael
- 119
- 1
1
vote
1 answer
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 in an object to a child prop, updating the object in…

GWed
- 3,085
- 5
- 26
- 43
0
votes
1 answer
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 table there are some values which are inputs or…
0
votes
1 answer
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 be extended with Nuxt-Auth which has support for…

DGrinbergs
- 11
0
votes
2 answers
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 central server, so the web app will function…

Aditya D.
- 19
- 3
0
votes
3 answers
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-mvc with JSF, can be replaced by the aforementioned…

Rui
- 1,569
- 1
- 11
- 18
0
votes
1 answer
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:
export default {
data() {
return {
…

jleach
- 2,632
- 9
- 27
0
votes
0 answers
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,
product: {
id: 1001,
title: "Cat Food,…

user949300
- 8,679
- 2
- 26
- 35
-1
votes
1 answer
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, department and other profile data. The Spreadsheet…

user1314159
- 97
- 1
-1
votes
1 answer
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 to upload multiple content at once for e-commerce…

user1314159
- 97
- 1
-2
votes
1 answer
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 environment variables in order to retrieve and…

Pierre Baudin
- 97
- 1