Top "Nuxt.js" questions

Nuxt.

Nuxt.JS: How to get route url params in a page

I am using Nuxt.js, and have a dymanic page which is defined under pages/post/_slug.vue So, when …

javascript vue.js nuxt.js
Why Prettier does not format code in VSCODE?

In my Nuxt application where ESlint and Prettier are installed and enabled, I switched to Visual Studio Code editor. When …

javascript vue.js visual-studio-code nuxt.js prettier
How to get current route name in Nuxt.js?

I'm using Nuxt.js for building a static website. How to access in component's script code currently displayed route name (…

vue.js vuejs2 vue-component vue-router nuxt.js
potentially fixable with the `--fix` option

I am creating a app with nuxt.js but everytime I launch the app, gives me the error of eslint …

vue.js eslint nuxt.js
Vuex - Do not mutate vuex store state outside mutation handlers

Why do I get this error: Error [vuex] Do not mutate vuex store state outside mutation handlers. What does it …

vue.js vuex nuxt.js
"document is not defined" in Nuxt.js

I am trying to use Choices.js within a Vue component. The component compiles successfully, but then an error is …

javascript vue.js vuejs2 nuxt.js
How to submit a form in Vue, redirect to a new route and pass the parameters?

I am using Nuxt and Vue and I am trying to submit a form, redirect the user to a new …

javascript node.js vue.js nuxt.js
How to set data into nuxt.js next-link?

I'm trying to pass data into nuxt-link but nuxt-link is just returning a 404 error when I click on the link. …

javascript vue.js vue-component nuxt.js
“window is not defined” in Nuxt.js

I get an error porting from Vue.js to Nuxt.js. I am trying to use vue-session in node_modules. …

vue.js nuxt.js
How to get axios baseUrl in nuxt?

I have axios module in my Nuxt.js project. I also set up my baseUrl (for API) in localhost:4040/api …

vue.js axios nuxt.js