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

error by require('viewport-units-buggyfill.hacks'); #92

Open
hqqxxf opened this issue Dec 7, 2017 · 3 comments
Open

error by require('viewport-units-buggyfill.hacks'); #92

hqqxxf opened this issue Dec 7, 2017 · 3 comments

Comments

@hqqxxf
Copy link

hqqxxf commented Dec 7, 2017

require('viewport-units-buggyfill.hacks');
errors below:
This dependency was not found:

  • viewport-units-buggyfill.hacks in ./src/main.js

To install it, you can run: npm install --save viewport-units-buggyfill.hacks

@hqqxxf
Copy link
Author

hqqxxf commented Dec 7, 2017

@rodneyrehm

@rodneyrehm
Copy link
Owner

I don't understand what you're trying to tell me. But to load the hacks you'd probably want to do the following:

require('viewport-units-buggyfill/viewport-units-buggyfill.hacks')

@wflixu
Copy link

wflixu commented Aug 17, 2018

In npm document , the using demo code is wrong.

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

3 participants