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&...
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 = {...
In Nuxt.js, I did this folder structure:  ??? parent ?   ??? child1.vue ?   ??? child2.vue ??? parent.vue   In parent.vue, I have this:  <template>     <div>         <h3>Parent element</h3>         <ul>             &...
Let me simplify the issue:  I have a checkbox in my Vue.js template (using Vuetify components):  <v-checkbox     v-model="selected"     label="John"    value="John"    id ="john"     @click.native="checkit"&...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.