Comments (3)
Try
import animate from "~lib/animateplus";
though looking in package.json
I'm inclined to suggest one of the following two options
import animate from "~animateplus";
import animate from "animateplus";
I don't work with react specifically and stuff changes depending on your build process; I'm sure we can get it working regardless! Update me if none of these options work.
from animateplus.
Thanks for your reply! I don't believe the import is not the issue (I have aliases / a module resolver babel plugin) , I think the issue is coming from the way its exported and then the way Im using the export as a function.
from animateplus.
Hi! Closing the issue as this is related to your tooling/setup, not to this library specifically.
from animateplus.
Related Issues (20)
- README: easing functions duplicated
- fyI: is not working HOT 2
- common.js module not work HOT 1
- Uncaught TypeError: Cannot read property 'forEach' of undefined HOT 2
- Parse Error: Unexpected token HOT 2
- Examples not working HOT 1
- async/await not supported by preact-cli HOT 3
- Example Repo HOT 3
- Animations do not work on mobile safari HOT 1
- Blur issues HOT 1
- is this also suited for 3d transform animations? HOT 1
- use pseudo-elements HOT 1
- Translate3d Support HOT 3
- Getting started example not working properly on chrome HOT 3
- Unexpected token export HOT 1
- Issue with IE/Edge HOT 3
- Comparison with other modules? HOT 1
- Animate SVG path d attribute HOT 5
- Cannot call JS method at the end of animation HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animateplus.