I am getting following Error as I used Ui.bootstrap's typeahead library
Uncaught ReferenceError: require is not defined
at typeahead.js:2
Tried googling for this but nothing helpful found,Any help will be appreciated
Thanks in advance
I am getting following Error as I used Ui.bootstrap's typeahead library
Uncaught ReferenceError: require is not defined
at typeahead.js:2
Tried googling for this but nothing helpful found,Any help will be appreciated
Thanks in advance
Require doesn't work in browser.Basically require is a node_module by which we can access other modules or files.So please if you are using it on browser side then try other things like import or self.import.
Please refer this stack question and answer by Latheesan
Please also check require.js as well. require.js