What should my link and script elements look like for accessing bower packages?
Environment: Ubuntu 16.04, Rubymine 2016.3.2
Under languages & Frameworks > JavaScript > Bower : I have the following packages--angular, bootstrap, htm5-boilerplate, jquery.
How do I reference them in <link href="...???...> for bootstrap ?
And <script src="...???...></script> for angular?
Thanks in advance for your guidance. I know this is an elementary question...I just can't find the query that will get me to the solution.
请先登录再写评论。
Hello Paul,
it depends on what paths you're using (absolute, for example, or there is a specific way of resolving them). In general, that should be a path from the html file you're editing to the file in question in bower_components (like src="bower_components/angular/angular.min.js").