Authored by 陈峰

commit

... ... @@ -6,7 +6,7 @@ async function getComponent() {
await import(/* webpackChunkName: "swiper" */'swiper/dist/css/swiper.css')];
}
export default function AwesomeSwiper() {
export default ['AwesomeSwiper', function AwesomeSwiper() {
return {
component: new Promise(async (resolve) => {
console.log('process.env.VUE_ENV=', process.env.VUE_ENV);
... ... @@ -36,4 +36,4 @@ export default function AwesomeSwiper() {
});
}),
};
}
}];
... ...