Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use this on Vue.js ? #26

Closed
ksmark8543 opened this issue Mar 5, 2020 · 1 comment
Closed

Can I use this on Vue.js ? #26

ksmark8543 opened this issue Mar 5, 2020 · 1 comment

Comments

@ksmark8543
Copy link

Hi, I want to use flipdown on Vue.js.
But I still don't know how to set up on my project.
The error message is "FlipDown is not defined", I think it's actually flipdown doesn't export module...
How should I do?
Please help me! :)

@PButcher
Copy link
Owner

PButcher commented Mar 9, 2020

You should be able to add one of the following lines at the end of dist/flipdown.js depending on your environment, that way Flipdown will be available as a module.

module.exports = Flipdown; or export default Flipdown;

Let me know how you get on.

@PButcher PButcher closed this as completed Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants