naver / egjs-view360

360 integrated viewing solution
https://naver.github.io/egjs-view360/
MIT License
500 stars 90 forks source link

Export Missing in @egjs/view360 and @egjs/vue3-view360 #425

Closed drennenb closed 1 year ago

drennenb commented 1 year ago

Using Vue3 / Vite I get this error trying to use the sample code SyntaxError: The requested module '/node_modules/.vite/deps/@egjs_view360.js?v=b913a4a2' does not provide an export named 'EquirectProjection'

I got this whether I used the vue3 version or the javascript version.

Steps to check or reproduce

npm install @egjs/view360

import View360, { EquirectProjection } from "@egjs/view360"

npm run dev. Error in console.

drennenb commented 1 year ago

default npm install was installing a 3.0 version. But installing a later version this problem was not present.