GithubHelp home page GithubHelp logo

IE 11 Error "Expected ':'" about components HOT 4 CLOSED

nuxt avatar nuxt commented on May 29, 2024
IE 11 Error "Expected ':'"

from components.

Comments (4)

LuXDAmore avatar LuXDAmore commented on May 29, 2024 1

Production build, Syntax Error:
IE 11 - Production

I can see an arrow function (t,a,b)=> related to:

  component.exports.render = function (h, vm) {
    return render(h, Object.assign({}, vm, {
      _c(n, a, b) {
        return vm._c(components[n] || n, a, b)
      }
    }))
  }

from components.

LuXDAmore avatar LuXDAmore commented on May 29, 2024 1

@pi0 Thank you very much! 🚀

The issue is fixed now with yarn upgrade nuxt.. But yes, still persist on the previous version with components: false and nothing specified in modules or buildModules!

Hope this helps!

from components.

LuXDAmore avatar LuXDAmore commented on May 29, 2024

Setting components: false into the nuxt.config.js doesn't fix the problem, neither features: { components: false }.

(It's not clear for me if it's a feature or something else)

from components.

pi0 avatar pi0 commented on May 29, 2024

Hi @LuXDAmore. It is fixed with v1.0.3 (you can use yarn upgrade nuxt)

Setting components: false into the nuxt.config.js doesn't fix the problem

It is strange indeed because with components: false components module will be disabled unless manually specified from modules or buildModules

from components.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.