All Questions
12 questions
5
votes
2
answers
644
views
Display properties of a country, from online service
I'm currently learning Vue JS and I made a simple app that pulls information from API and displays facts about a country given a 2-letter country code. I'm looking for feedback on how to improve the ...
4
votes
2
answers
96
views
Vue.js - Sierpinski Triangle
Below is a Vue app I wrote to draw a Sierpinski Triangle given n iterations, which can be incremented/decremented via a HTML ...
2
votes
1
answer
325
views
To-do app front-end in Vue 3
I have put together a To-do Application with the Slim framework on the back-end (API) and a Vue 3 front-end. I added a demo on my YouTube channel.
In the main App.vue file I have:
...
2
votes
0
answers
24
views
Localization of multi style text element in Vue
After following up this question, I'm thinking if there's a better/shorter way to write this text element that has part with different style, while allowing localizations:
...
2
votes
1
answer
155
views
Array of random values that changes over time
I had a project with repetitive HTML, JS code blocks in which should be ten fields (A, B, C...) with certain functionality. Three fields are already implemented, but I don't want to copy and paste ...
6
votes
1
answer
589
views
Resizable split DIVs Vue.js
I just started Developing Web App (Vue.js) for my company for around 1-2 months. Therefore, my knowledge and experience in HTML, CSS and Javascript is kinda shallow.
I've created a custom resizable ...
1
vote
1
answer
232
views
Vue.js Stoplight app - Dynamically changing classes on elements
I recently started delving into Vue.js, and decided to try my hand at some custom class/style bindings, so I made a small app that's supposed to cycle through each "light" of a stoplight (red, yellow, ...
2
votes
1
answer
307
views
create static page with vuejs
I have a static homepage with some routes and thought about creating this with VueJs. I am totally new to this and just know NodeJs with Handlebars. So normally I would have something like this
<...
2
votes
1
answer
2k
views
HTMLAudioElement sound delay on keyboard clicks
I am using Vue.js to play mp3 sounds on keyboard clicks. Even though each mp3 is less than 40 KB, there is a 95ms delay on heroku, on each request.
Is there a way to download sounds when dom is ready ...
2
votes
1
answer
100
views
Use vue components as one-offs in layout scaffolding
I've recently been getting into VueJS and CSS Grid. In the past I've always used frameworks like Bootstrap to built up my layout. However, since CSS Grids and VueJS have caught my attention, I'm ...
3
votes
1
answer
1k
views
A JS Tree Viewer in VueJS
To learn Vue.js I have made a tree viewer with the code below. Can anyone give me some advice on how to improve the code?
...
1
vote
2
answers
290
views
Vue GitHub user lookup
I have made a small Vue app which fulfills the following user stories:
Given I make a search for an existing GitHub user, then:
The user's username is shown
The user's avatar is shown
The user's most ...