Comments (6)
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.
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.
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.
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.
Thanks! I'll give that a shot, might have some time tonight to try.
from vue-simple-calendar.
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)
- add a "day" view HOT 1
- Announcement: I'm at VueConfUS
- sometimes getting stuck for even 140 seconds, need some help :) HOT 3
- periodChanged npm update HOT 2
- Modify height for every cells HOT 1
- Cannot change font color for startTime/endTime HOT 3
- Bug when using item specific classes HOT 6
- do we support drag in batch? HOT 1
- delete this
- tooltip doesn't work HOT 2
- Misaligned row in demo HOT 4
- missing export in package.json HOT 3
- Clicking & URL issues HOT 2
- How can we get the selected object from the array? HOT 1
- Error of import HOT 3
- Feature Request: Show weekdays only HOT 1
- Error when importing vue-simple-calendar/dist/style.css HOT 3
- Can't use named slots with camelCase like dayContent HOT 2
- Time slots in weekly view HOT 1
- Week Numbers are off by 1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-simple-calendar.