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

Declaring & require order for NPM #828

Closed
tophat1986 opened this issue Dec 30, 2017 · 1 comment
Closed

Declaring & require order for NPM #828

tophat1986 opened this issue Dec 30, 2017 · 1 comment

Comments

@tophat1986
Copy link

A very simple suggestion to help the beginners of the world like me is to make a note for npm installation.
'Velocity' needs declaring before jquery when using webpack! I presume to load last in your main app.js file so that it overwrites/takes precedence over jquery (from my understanding).

Spent a while trying to get it to work because of this. Cheers

@Rycochet
Copy link
Collaborator

Velocity doesn't yet support Webpack (it's not been looked into) - v1 doesn't use app.ts, and v2 is still being worked on and doesn't have anything to do with jQuery except for potentially extending jQuery.

Definitely on the todo list so you can have it working properly with jQuery (and anything else), as well as making sure it works as expected with webpack (I'd rather like to get the build over to using webpack at some point now it's so modular, but it's pretty low priority).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants