Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Tags
    3. babel
    Log in to post
    • J

      spread operator in vuex not working with any presets
      Help • babel presets quasar 1.4 vuex • • jorgv

      3
      0
      Votes
      3
      Posts
      85
      Views

      J

      Hi @metalsadman thanks for answering,

      After you mentioned if I had vuex in the project I search more than I had it installed but I was importing the function wrong

      import { ...mapGetters } from 'vuex';

      I fixt the error by importing it right.

      thanks again and sorry

    • M

      Transpiling dependencies produces a broken build or doesn't compile at all
      Help • babel cordova typescript • • mladekt

      2
      0
      Votes
      2
      Posts
      274
      Views

      D

      I solved it by adding

      plugins: ["@babel/plugin-transform-modules-commonjs"]

      to babel.config.js

    • J

      Object.entries error when running Cordova app on Android device
      Framework • babel cordova • • jasonl

      5
      0
      Votes
      5
      Posts
      853
      Views

      rstoenescu

      For babel polyfill, just tamper with the .babelrc – mind that for v0.16+ u’re on Babel 7, not 6