In my Nuxt.js application, I have to use dynamic nested routes. This means I will end up by having various HTML files generated. The problem is that I must embed my whole application within an existing website, on a specific page, to be precise. In t...
In my Nuxt application where ESlint and Prettier are installed and enabled, I switched to Visual Studio Code editor. When I open a .vue file and press CMD+ Shift + P and choose Format Document, my file does not get formatted at all. My .prettierr...
In the Nuxt documentation (here) it says 'You can optionally break down a module file into separate files: state.js, actions.js, mutations.js and getters.js.' I can't seem to find any examples of how this is done - lots of breaking down...
Facing a weird behavior lately. Created a new Nuxt.js app and some of the components I create are just not hot reloading. When I stop the dev server and recompile with npm run dev I can see the changes in the browser but they are just not hot reloadi...
I'm building nuxt.js app with typescript. This is my code: <script lang='ts'> import {Component, Vue} from 'nuxt-property-decorator'; import {LOCATION} from '~/constants/graphql/location'; @Component({...
I want to use [email protected] module and nuxt-i18n together. The problem appears when I want to have different routes for login page. For example: pages: { login: { en: '/authorization', fr: '/autorisation' } } Routes are working w...
I am having a fairly easy problem. In my nuxt app I want to display a list of items based on objects in an array in a simple .json file. Furthermore when the specific item is clicked I want to show a detailed view of that item with more data. Imagin...
I am building a multilingual Nuxt web app. Using this example from the official documentation (Codepen link), I no longer want to use local JSON files where my translations are saved to work as defined in the code below: messages: { 'en&...
In vue, we defined meta like this: const router = new VueRouter({ routes: [ { path: '/foo', component: Foo, children: [ { path: 'bar', component: Bar, // a meta field...
I'm trying to pass a list of button names into a menu component from the vuex store following https://nuxtjs.org/guide/vuex-store my /store/store.js: export const state = () => ({ 'toolbarActions' : [ 'My project', '...
©2020 All rights reserved.