How to reference Library Knockout.js installed via NPM

2

I installed the Knockout.js library via NPM, with the following command:

npm install --save-dev knockout

I noticed that NPM installs the module inside the node_modules / knockout folder, but I believe there is a way to include the script in the project without having to reference it by the following path in my index.html:

<script src="node_modules/knockout/build/output/knockout-lastest.js></script>

How do I include the right way?

    
asked by anonymous 04.03.2017 / 21:02

0 answers