protonemedia / inertiajs-tables-laravel-query-builder

Inertia.js Tables for Laravel Query Builder
https://protone.media/en/blog/introducing-inertiajs-tables-a-datatables-like-package-for-laravel-query-builder
MIT License
437 stars 127 forks source link

v2.1.0 error popper.js with Vite 3.1.3 #111

Open AMINEAMIRI opened 1 year ago

AMINEAMIRI commented 1 year ago

error during build: Error: [vite]: Rollup failed to resolve import "@popperjs/core/lib/popper-lite" from "node_modules/@protonemedia/inertiajs-tables-laravel-query-builder/dist/inertiajs-tables-laravel-query-builder.es.js". This is most likely unintended because it can break your application at runtime.

"devDependencies": { "@inertiajs/inertia": "^0.11.0", "@inertiajs/inertia-vue3": "^0.6.0", "@inertiajs/progress": "^0.2.7", "@tailwindcss/forms": "^0.5.2", "@tailwindcss/typography": "^0.5.2", "@vitejs/plugin-vue": "^3.2.0", "autoprefixer": "^10.4.7", "axios": "^0.27", "laravel-vite-plugin": "^0.6.0", "lodash": "^4.17.19", "postcss": "^8.4.14", "sass": "^1.55.0", "tailwindcss": "^3.1.0", "typescript": "^4.9.3", "unplugin-auto-import": "^0.11.2", "unplugin-vue-components": "^0.22.8", "vite": "^3.1.3", "vue": "^3.2.36" }, "dependencies": { "@element-plus/icons-vue": "^2.0.10", "@headlessui/vue": "^1.7.3", "@heroicons/vue": "^1.0.6", "@protonemedia/inertiajs-tables-laravel-query-builder": "^2.1.0", "@vitejs/plugin-vue-jsx": "^2.1.0", "@vue-hero-icons/outline": "^1.7.2", "@vue-hero-icons/solid": "^1.7.2", "apexcharts": "^3.36.0", "element-plus": "^2.2.18", "heroicons": "^2.0.12", "perfect-scrollbar": "^1.5.5", "typescript": "^4.9.3", "vue": "^3.2.36", "vue-loader": "^17.0.0", "vue-toastification": "^2.0.0-rc.5", "vue3-apexcharts": "^1.4.1" } }

any help please ?

CNSam commented 1 year ago

Has anyone been able to take a look at this - we too are having an issue using it as part of inertia via SSR