what you are missing is linking to the loaded libraries in the bower_components folder in your index.html.
For example, let's say you added restangular to the conversation. the library is in ./bower_components/restangular , so in your index.html (your SPA). you will refer to it as follows:
<script src="../bower_components/restangular/dist/restangular.js"></script>
Beware sometimes adding all the main library files (js and css), for this you need to check the value of the main attribute included in the bower.json library. for our example in bower.json in ../bower_components/restangular/ we have:
"main": "./dist/restangular.js", In the .bowerrc file, you can define the directory for the downloaded libraries in my example, this will be bower_components.
In the .csproj file add
<Content Include="bower_components/restangular/dist/restangular.js" />
Use this example.
Master mind
source share