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

require is not defined when use in angular2 #14

Closed
Sophia-nguyen opened this issue Jun 30, 2016 · 2 comments
Closed

require is not defined when use in angular2 #14

Sophia-nguyen opened this issue Jun 30, 2016 · 2 comments

Comments

@Sophia-nguyen
Copy link

Hi,
I am using in my app with angular2, I can not use import so I loaded by <script> tag.
But an error occurs require is not defined. How can I resolve it?

Thanks,

@Invis1ble
Copy link

@Sophia-nguyen I had the similar issue. If you're using angular-cli and you want to import urldecode, you can follow steps that described here: https://github.com/angular/angular-cli#3rd-party-library-installation

@fengmk2
Copy link
Member

fengmk2 commented Oct 28, 2023

only work on nodejs

@fengmk2 fengmk2 closed this as completed Oct 28, 2023
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