Git Product home page Git Product logo

Comments (6)

YangJianFei avatar YangJianFei commented on August 21, 2024

这看不出来哪里有问题,是运行就这样了吗?
把main.js使用的地方截个图看看

from vue-baidu-map-3x.

85636682 avatar 85636682 commented on August 21, 2024

我是在单个文件引用方式的
image
image

from vue-baidu-map-3x.

85636682 avatar 85636682 commented on August 21, 2024
 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'openBlock' (imported as 'openBlock') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'createElementBlock' (imported as 'createElementBlock') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'normalizeClass' (imported as 'normalizeClass') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'normalizeStyle' (imported as 'normalizeStyle') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'createCommentVNode' (imported as 'createCommentVNode') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'renderSlot' (imported as 'renderSlot') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'withDirectives' (imported as 'withDirectives') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'vShow' (imported as 'vShow') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'resolveComponent' (imported as 'resolveComponent') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'Fragment' (imported as 'Fragment') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'renderList' (imported as 'renderList') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

export 'createBlock' (imported as 'createBlock') was not found in 'vue' (possible exports: default)

 warning  in ./node_modules/vue-baidu-map-3x/dist/vue-baidu-map-3x.es.js

from vue-baidu-map-3x.

YangJianFei avatar YangJianFei commented on August 21, 2024

局部引入使用:
import { BaiduMap } from 'vue-baidu-map-3x';

from vue-baidu-map-3x.

85636682 avatar 85636682 commented on August 21, 2024

image

按照你的方式,还是报一样的错误

from vue-baidu-map-3x.

YangJianFei avatar YangJianFei commented on August 21, 2024

报错截图截完整点看看
试试把nodemodule删了重新安装试试,还是不行的话微信交流或者用https://codesandbox.io复现一个报错的demo项目我看看。你这个信息太少了

from vue-baidu-map-3x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.