GithubHelp home page GithubHelp logo

Parsing Error about vue-awesome-swiper HOT 6 CLOSED

surmon-china avatar surmon-china commented on July 21, 2024 1
Parsing Error

from vue-awesome-swiper.

Comments (6)

surmon-china avatar surmon-china commented on July 21, 2024 3

use vue-cli init your vue peoject

from vue-awesome-swiper.

surmon-china avatar surmon-china commented on July 21, 2024 2

Sorry, it may temporarily not support browserify

from vue-awesome-swiper.

tbcinteractive avatar tbcinteractive commented on July 21, 2024 1

@jbrialon Thank you so much! I temporarily fixed my issues by including the swiper.vue and slide.vue directly in my projects, not ideal, but allowed me to kept working. I will implement your suggestion today!

@surmon-china I used vue cli + browserify template and still the issue persists! This is an excellent slider for Vue, thank you so much!

from vue-awesome-swiper.

weexpectedTHIS avatar weexpectedTHIS commented on July 21, 2024 1

So this is still the case, you still don't support browserify? I'm still getting the same parsing error.

from vue-awesome-swiper.

jbrialon avatar jbrialon commented on July 21, 2024

same, i'm using browserify

from vue-awesome-swiper.

jbrialon avatar jbrialon commented on July 21, 2024

@surmon-china that wasn't helpfull at all, and I think it wouldn't help because of this line : require('swiper/dist/css/swiper.css')
even using vue-cli if you choose the browserify template this line will generate the same error.

@mateomrqz I fixed it myself by requiring the components from the vue-awesome-swiper package using the old fashioned way :

components: { 'swiper': require('../../components/swiper/swiper.vue'), 'swiper-slide': require('../../components/swiper/slide.vue') }

some more adjustement were needed, let me know if you want more help.

from vue-awesome-swiper.

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.