Giter Site home page Giter Site logo

simplebar-vue3's People

Contributors

darthsoup avatar denizcdemirci avatar kadiryazici avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simplebar-vue3's Issues

useSimplebar return type is wrong

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

  • I'm submitting a ...

    • [ x] bug report
  • Do you want to request a feature or report a bug?
    report a bug

  • What is the current behavior?
    The useSimplebar hook definition is wrong

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
    https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

  • Please tell us about your environment:
    it shouldn't matter

Uncaught (in promise) SyntaxError: Invalid or unexpected token - simplebar-vue3

When using simplebar-vue3, i receive this error, if i remove it, it is working as expected.

image

I'm using like this.

import { SimpleBar } from "simplebar-vue3";
<SimpleBar style="height: 400px">
 // div
</SimpleBar>

Error is happening here;

image

I'm using the following version.

 "simplebar": "^5.3.8",
 "simplebar-vue3": "^0.2.0",
  "vite": "^3.0.9",
  "vue": "^3.2.38"

Good to know that: It is working fine in dev mode (windows), but not working in server (Linux). Please try with those to reproduce this problem.

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.