All Questions
149 questions
0
votes
0
answers
290
views
Vue - Webpack - Force scss @import to be chunked in to a shared file?
I'm currently experiencing a pattern where in Vue I have this in a number of different components. What I'm finding is that webpack is then going ahead and including the contents of src/assets/styles/...
0
votes
1
answer
28
views
The $ Does Not Convert Text To Code What Should I Do?
The $ Does Not Convert Text To Code What Should I Do?
if(this.rules.min && this.value.length < this.rules.min){
return 'Minimum length is ${this.rules.min}'
}
2
votes
1
answer
2k
views
How to place image address in array and use that array index in source VUE JS?
I’m new into vue js and I’m facing a little issue. I’m sure that its a minor issue as I’m new into it can’t able to solve it by myself. Any suggestion or solution will be acknowledge.
Thing is I want ...
3
votes
1
answer
2k
views
Vue cli env without prefix VUE_APP
is possible to use env in vue cli without de prefix VUE_APP,
Example in .env without prefix VUE_APP:
API_MESSAGE_URL = localhost:5000/v1
1
vote
0
answers
242
views
Vue cli code not running ine the command prompt
Trying out vue cli for the first time and I can't get to open the code from the command-prompt line into my visual studio through the cd my-app code ., command, I can only access it through the vue ui ...
0
votes
1
answer
240
views
Vuejs: show data with day index on schedule
I want to show the schedule, with if condition. If the index in the loop is the same as the index day, then display 'index' else is '-'.
for now, this is my view:
My code:
<td v-for="(n, i) ...
1
vote
1
answer
192
views
Vuejs:How to enable select option when another select option is selected
im using library vue-search-select to disable the select option used isDisabled. Initially the select option on specialty is disabled. I want it when hospital is selected, then disable the specialty ...
0
votes
1
answer
910
views
Vuejs: how to loop start time to multiply end time with var x
I have data start_time, end_time, x, and result. I want to display it in the select option, the first option is the initial data start_time, and continues to loop multiples of variable x and ends ...
0
votes
1
answer
297
views
Vuejs: how to implement reactively disable datepicker
im newbie here. I want control the datepicker to be disabled automatically based on the existing api. I using the vuejs-datepicker library. I've seen the documentation and managed to implement it ...
0
votes
0
answers
633
views
Vuejs CSS doesn't work after deployed even if it gets rendered to the DOM
Hello!
I made a vuejs app to understand both vuejs and css(I learned both of them very recently). However, when i try to deploy it in Netlify(As per the instructions in vuejs documentations of hosting ...
1
vote
1
answer
5k
views
Change the root directory of the assets from vue build
I'm using Vue CLI 3.3 and building vue projects for my vertical website, but every time I build the project, the assets of dist/index.html always load from my root path, like:
<script src=js/chunk-...
1
vote
1
answer
175
views
Vue-CLI and Visual Studio Code formatting conflicts
I generated a Vue.js project using this tutorial: https://www.vuemastery.com/courses/real-world-vue-js/vue-cli/
And then I proceeded to change Visual Studio Code settings and project configuration as ...
1
vote
1
answer
7k
views
Adding external js file in vue cli
I am trying to add external js file in vue app.vue. But it's not working. I followed this as adding external style sheet. Also want to include in a component for another js file. I am beginner in vue ...
1
vote
0
answers
1k
views
Vue.js: How can I conditionally include an SCSS?
I'm working on a Vue.js SPA which can have default styling or a customised styling.
The default styling is built into the Vue.js app, using an import statement on a main SCSS file:
import '/assets/...
5
votes
1
answer
3k
views
How can I handle redirects in vue cli development server with a proxy?
my project setup consists of a vue application with several pages on the frontend and a flask backend.
For my development setup I am using the devServer.proxy setting in vue.config.js:
module....