Can't import the named export XXXX from non EcmaScript module (only default export is available)的解决方法

解决方法:

  1. https://stackoverflow.com/questions/69343038/cant-import-the-named-export-xxxx-from-non-ecmascript-module-only-default-expo
  2. https://github.com/vuejs/pinia/issues/675

参阅:

  1. https://www.webpackjs.com/configuration/module/#ruletype
posted @ 2023-07-05 17:07  星小梦  阅读(2811)  评论(0)    收藏  举报