laravel-mix / laravel-mix

The power of webpack, distilled for the rest of us.
MIT License
5.27k stars 810 forks source link

[Vue warn]: Failed to mount component: template or render function not defined. found in ---> <Swiper> #3240

Open pnk0006 opened 2 years ago

pnk0006 commented 2 years ago

Hi I am having issue swiper js in my project, we are not using vue-router. we are creating components and the backend will render a path and enable components for pages. here is my dependencies "dependencies": { "chart.js": "^3.6.2", "facebook-login-vuejs": "^2.1.3", "google-maps-api-loader": "^1.1.1", "idempotent-babel-polyfill": "^7.0.0", "jest-junit": "^6.4.0", "jest-localstorage-mock": "^2.4.0", "jest-serializer-vue": "^2.0.2", "lodash": "^4.17.21", "simple-vue-validator": "^0.16.0", "sinon": "^7.4.1", "swiper": "^6.8.4", "vue": "^2.6.14", "vue-browser-geolocation": "^1.8.0", "vue-chartjs": "^3.5.1", "vue-country-region-select": "^2.0.16", "vue-google-login": "^2.0.5", "vue-jest": "^3.0.4", "vue-loading-overlay": "^3.0.4", "vue-select": "^3.13.0", "vue-slick-carousel": "^1.0.6", "vue-template-compiler": "^2.6.14", "vue-toasted": "^1.1.28", "vue2-datepicker": "^3.10.2", "vuelidate": "^0.7.6", "vuex": "^3.6.2" }

can anyone help me to solve this issue I have to use this swiper

noogen commented 2 years ago

First, I think you're asking this question in the wrong repository. If you're referring to https://github.com/nolimits4web/swiper, then ask your question there.

Second, post more details of the issue; or better, create a simple repository demonstrating the issue.

imho, swiperjs Swiper Vue documentation is horrible. You can't go back to view previous/older version of the documentation.