Giter Club home page Giter Club logo

Comments (9)

wmq0903 avatar wmq0903 commented on May 30, 2024 2

"browserslist": [
"> 1%",
"ie >= 9",
"not op_mini all"
]
这么配置IE11可以了,不过IE10和IE9报错
“Set”未定义

from koa-web-kit.

wmq0903 avatar wmq0903 commented on May 30, 2024 1

OK 我这可以了
入口文件添加 require('babel-polyfill') 兼容到IE9了

from koa-web-kit.

JasonBoy avatar JasonBoy commented on May 30, 2024

package.json里默认如下, 你自己改成你的支持范围:

"browserslist": [
    "> 1%",
    "not ie 11",
    "not op_mini all"
  ]

from koa-web-kit.

blockmood avatar blockmood commented on May 30, 2024

兼容到IE>=9 该如何配置,我配置的 [ IE 9 ] ,也不行啊 ,IE会报META类型的错误

from koa-web-kit.

JasonBoy avatar JasonBoy commented on May 30, 2024
"browserslist": [
    "> 1%",
    "ie >= 9",
    "not op_mini all"
  ]

你看看index.html还有什么head要改的

from koa-web-kit.

wmq0903 avatar wmq0903 commented on May 30, 2024

请问如何解决啊

from koa-web-kit.

JasonBoy avatar JasonBoy commented on May 30, 2024

你要支持IE9, 你直接吧babel-polyfill在index.js引入拉到了,
https://babeljs.io/docs/en/babel-polyfill

from koa-web-kit.

blockmood avatar blockmood commented on May 30, 2024

@JasonBoy 你的意思是直接在index.js 直接 require("@babel/polyfill") || import "@babel/polyfill" ?

from koa-web-kit.

JasonBoy avatar JasonBoy commented on May 30, 2024

import "@babel/polyfill"

from koa-web-kit.

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.