You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
Note, this is just about being usable, not porting the component to Vue 3 composition APIs.
Steps to Reproduce
$ npm init vite-app <project-name>
$ cd <project-name>
$ npm install
$ npm install vue-gallery-slideshow --save
$ npm run dev
App.vue: follow your README
Browser error: GET https://localhost:3000/@modules/vue-gallery-slideshow/src/index.js net::ERR_ABORTED 404
The cause is this line in package.json "jsnext:main": "src/index.js",
which isn't included in build.
Removing that gives another error Uncaught SyntaxError: The requested module '/@modules/vue-gallery-slideshow/dist/js/vue-gallery-slideshow.js' does not provide an export named 'default'
The text was updated successfully, but these errors were encountered:
Would like to use this component in a Vue 3 project generated by https://github.com/vitejs/vite
Note, this is just about being usable, not porting the component to Vue 3 composition APIs.
Steps to Reproduce
App.vue: follow your README
Browser error:
GET https://localhost:3000/@modules/vue-gallery-slideshow/src/index.js net::ERR_ABORTED 404
The cause is this line in package.json
"jsnext:main": "src/index.js",
which isn't included in build.
Removing that gives another error
Uncaught SyntaxError: The requested module '/@modules/vue-gallery-slideshow/dist/js/vue-gallery-slideshow.js' does not provide an export named 'default'
The text was updated successfully, but these errors were encountered: