Coder Social home page Coder Social logo

Comments (6)

richardtallent avatar richardtallent commented on June 24, 2024 1

Thanks!

IE11 should be supported, and has been tested in the past. I think something went wrong when Babel changed how we configure polyfills ("env" was supposed to fix everything... guess not). I've modified my local .babelrc file, but can't test it at the moment as I'm stuck mid-upgrade to Webpack 4. You may be able to get it working by replacing your local copy of .babelrc with this:

{
	"presets": [
		[
			"@babel/preset-env",
			{
				"useBuiltIns": "entry"
			}
		]
	]
}

Same with browser compatibility--there used to be a section for it, it probably got whacked in a previous PR where someone re-organized the readme. I usually test on IE11, Firefox (Mac), Safari (Mac), Chrome (both), Safari (iOS), Edge, and the Silk browser on my cheap Amazon Fire tablet.

I agree about the readme length and complexity. I'm working on v3.0 now, and when it comes out, the readme will include only information about 3.0, I'll move any mention of 1.x and 2.x migration to another page.

I've rolled this babelrc update into version 2.2, which I'm working on now and should be able to test and publish as soon as the various libraries used by the standard Vue template catch up with webpack 4. I'll leave this open as a reminder to self to re-test in IE11 before publishing it.

from vue-simple-calendar.

richardtallent avatar richardtallent commented on June 24, 2024

Still working on webpack 4 support. Got it almost working. But the above preset I found is apparently from a babel 7 beta, not the release version, so I don't have anything to test IE11 with yet.

from vue-simple-calendar.

richardtallent avatar richardtallent commented on June 24, 2024

I released 2.2.0, but despite much Googling and testing, I was not able to restore IE11 support. It seems to simply come down to Babel not transpiling. I'll leave this issue open for now, in hopes that someone with more experience with webpack and babel can figure out the problem.

from vue-simple-calendar.

etiennellipse avatar etiennellipse commented on June 24, 2024

Here is the .babelrc that we use for our project:

{
  "presets": [
    ["env", {
      "targets": {
        "browsers": ["last 3 versions", "ie >= 11"]
      }
    }]
  ]
}

Which reads as: support last 3 versions of every browser AND IE11+. This way, your compiled bundles will always support IE11.

from vue-simple-calendar.

richardtallent avatar richardtallent commented on June 24, 2024

Thanks! I'll give that a shot, might have some time tonight to try.

from vue-simple-calendar.

richardtallent avatar richardtallent commented on June 24, 2024

With some adjustments to the browserlist config, polyfill loading, and a CSS fix, it looks like IE11 is now supported again! 2.2.1 is live here on the master branch of the repo.

I can't log in to npm for some reason from my work laptop and I'm on a business trip, so I won't be able to publish it for a few days, but you can clone and work from the source if needed in the meantime.

from vue-simple-calendar.

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.