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...
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 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 doing the following: - Production Build: npm run generate - I copy the dist folder into the Tomcat Webapps, and it works fine - Whenever I refresh a dynamic route, it shows 404  URLs that work:  https://ip:port/entryPath/dashboard/user   URLs...
I'm trying to host a Nuxt.js app on Firebase, and I've followed this tutorial, and I got stuck at #10, when trying to do sudo firebase serve --only functions, hosting. I kept getting this Timed out waiting for function to respond..     Upon f...
I have the template like this   <template> <div>   <div id="hiddenElement">     <MyElement v-for='...' @click="...">     </MyElement>   </div>    <div id="appendElementsHere" />...
I have a Nuxt.js app. I want to read a local JSON file located in the static/ folder.  I have in my nuxt.config.js file:  module.exports = {...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.