87,992
社区成员
发帖
与我相关
我的任务
分享
[/quote]
活学活用哈,可以挨个寻找是哪个引入的东西报错,找出来之后再做其他的操作
module.exports = {
// presets: [ '@vue/app' ],
presets: [
[
'@vue/app',
{
useBuiltIns: 'entry'
}
]
]
}
2. 在入口文件最上方添加 import '@babel/polyfill'
3. index.html:
<meta name="renderer" content="webkit|ie-comp|ie-stand">
4. modern参数:
vue-cli-service build --modern
module.exports = {
// presets: [ '@vue/app' ],
presets: [
[
'@vue/app',
{
useBuiltIns: 'entry'
}
]
]
}
2. 在入口文件最上方添加 import '@babel/polyfill'
3. index.html:
<meta name="renderer" content="webkit|ie-comp|ie-stand">
4. modern参数:
vue-cli-service build --modern
[/quote]
能帮我远程看一下吗?帮我看一下是不是脚手架出了问题,万分感谢!QQ:1207688613[/quote]
抱歉。[/quote]
好吧,那我重新去改造一下3.0脚手架吧,真的是神奇,重新搭建一个3.0的吧。移到2.0脚手架就可以了,这个bug简直无敌[/quote]
兼容性的确是个讨厌的问题。module.exports = {
// presets: [ '@vue/app' ],
presets: [
[
'@vue/app',
{
useBuiltIns: 'entry'
}
]
]
}
2. 在入口文件最上方添加 import '@babel/polyfill'
3. index.html:
<meta name="renderer" content="webkit|ie-comp|ie-stand">
4. modern参数:
vue-cli-service build --modern
[/quote]
能帮我远程看一下吗?帮我看一下是不是脚手架出了问题,万分感谢!QQ:1207688613[/quote]
抱歉。[/quote]
好吧,那我重新去改造一下3.0脚手架吧,真的是神奇,重新搭建一个3.0的吧。移到2.0脚手架就可以了,这个bug简直无敌module.exports = {
// presets: [ '@vue/app' ],
presets: [
[
'@vue/app',
{
useBuiltIns: 'entry'
}
]
]
}
2. 在入口文件最上方添加 import '@babel/polyfill'
3. index.html:
<meta name="renderer" content="webkit|ie-comp|ie-stand">
4. modern参数:
vue-cli-service build --modern
[/quote]
能帮我远程看一下吗?帮我看一下是不是脚手架出了问题,万分感谢!QQ:1207688613[/quote]
抱歉。module.exports = {
// presets: [ '@vue/app' ],
presets: [
[
'@vue/app',
{
useBuiltIns: 'entry'
}
]
]
}
2. 在入口文件最上方添加 import '@babel/polyfill'
3. index.html:
<meta name="renderer" content="webkit|ie-comp|ie-stand">
4. modern参数:
vue-cli-service build --modern
[/quote]
能帮我远程看一下吗?帮我看一下是不是脚手架出了问题,万分感谢!QQ:1207688613
老哥加一下QQ呗,有时间帮我看一下。我一定要知道哪里有问题