IE1 development environment reported an error. For more information, please see title
.
the environmental background of the problems and what methods you have tried
has checked a lot of information, and has
- reduce webpack-dev-server to 2.6.1 and 2.7.1, regardless of
- add webpack-dev-pack to the babel-loader directory
{
test: /\.js$/,
loader: "babel-loader",
include: [
resolve("src"),
resolve("test"),
resolve("node_modules/webpack-dev-server/"),
resolve("node_modules/iview")
]
}
- adjusted .babelrc
{
"presets": [
[
"env",
{
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}
],
"stage-2"
],
"plugins": [
"transform-vue-jsx",
"transform-runtime",
[
"import",
{
"libraryName": "iview",
"libraryDirectory": "src/components"
}
]
]
}