All Questions
17 questions
0
votes
0
answers
78
views
Vue2 Router not routing correctly, show blank pages
I am new to Vue, facing routing problem
When i try to start my frontend vue, it shows blank page, i don't know why it is not route to my login page, anyone can help to fix it? looks like the router ...
1
vote
0
answers
148
views
Transform a edit router into a modal in Vuejs?
I have a screen where I render a DataTable through some filters.
When the table is generated I have a column called Ações (actions) where there is only one button which is a router-link that takes you ...
0
votes
0
answers
132
views
Is it possible to use <router-link> injected with javascript (backticks)
I have a form that checks if the email already exists in the database. If the email does exist, I want to redirect the user to a different route and pass the email as a parameter so that I can pre-...
1
vote
0
answers
2k
views
Nuxt.js failed to dynamically compile templates
I have a problem with nuxt
When I load index.vue page and click on the nuxt-link to load another page I am getting an error:
[Vue warn]: Failed to mount component: template or render function not ...
2
votes
1
answer
2k
views
nuxt.js. mode: spa. problem in not root path on production
I am a Japanese not good at English sorry.
I have a nuxt project like this.
The mode is spa.
Directory construction
pages - index.vue
index
|_ child.vue
|_ index.vue
...
1
vote
1
answer
1k
views
Vue.js - Creating a Admin and a User Panel - Best practice
i am new to programming with vue.
i am currently building my first vue frontend app with a node.js backend server.
There should be 2 different apps in the frontend.
confuguration panel for admins (...
2
votes
0
answers
3k
views
Nuxt Middleware: dynamic redirect and add params?
I have the following middleware in a page component:
async middleware ({store, redirect, params}) {
console.debug('Slug Middleware called with', params)
if (params.wasSlugified === true) ...
0
votes
1
answer
620
views
Send server side requests for routes to VueJS 2
If you create a new application (with router support) using Vue CLI 3 and launch the built in development server (with npm run serve or yarn serve depending on your preference), you can go to, for ...
2
votes
2
answers
6k
views
How to auth windows AD users by node.js?
I need to auth windows AD users recently. The scenario is below
Web pages runs at Server A ( Vue + vue-router )
Api interface runs at Server B ( node + express )
User input AD username & pwd on ...
0
votes
1
answer
2k
views
Vuejs :progressbar on data fetching before navigating to route
I have implemented data fetching before navigating to the route ie the route didn't loaded until the data loaded from API.
Everything works fine but i want to add progress bar on route loading but ...
0
votes
3
answers
7k
views
Vue route config "component" for path: / cannot be a string id
I am learning Vue Js - v2.5.3.
i am using component and route concept for develop project. where component is working but when i am try to define route then getting error
Uncaught Error :: ...
2
votes
1
answer
1k
views
When do you use vue-route and when do you use express route?
I've just developed a prototype using node.js and express.js. Here I've used Express route for CRUD'ing the backend.
server.js file:
app.get('/project/:id', crud.getProjectData);
This route will ...
1
vote
2
answers
50
views
Logic doesn't work after .then
I have a Login end point that respond me a json.
I'm using vue-router to do a POST and then Store a token in localStorage, but after the POST, the json shows on the screen:
{"success":false,"message"...
1
vote
1
answer
1k
views
Empty page after webpack production build IIS
I have a VUE 2 application which I want to deploy on an IIS on Windows Server 2012 R2.
node version: 6.9.5
npm version: 4.3.0
My problem is, when I call the site (index.html and static folder with ...
0
votes
1
answer
343
views
How do I redirect the user back to the page he comes from using vue-router middleware?
I have the following created the following codes that works as middlewares to my vue components.
Router.beforeEach(
(to, from, next) => {
if (to.matched.some(record => record.meta....