commit
3c408a0e66
|
@ -132,7 +132,7 @@ Bower will automatically download the specified dependencies, but for now the fi
|
|||
|
||||
Next, we will configure Gulp to process these files and place them where we want them in the wwwroot folder. First, we need to make sure Gulp is installed locally for the project. This is accomplished using NPM, which is similar to Bower but requires a different configuration file, "package.json". Add a new NPM configuration file to the root of the project, called package.json. Add *gulp*, *rimraf*, and *guld-concat* to the devDependencies property (you should get Intellisense as you type each package name). When you're finished, your file should look similar to this one:
|
||||
|
||||
.. literalinclude:: migratingfrommvc5/samples//NewMvc6Project/src/NewMvc6Project/package.json
|
||||
.. literalinclude:: migratingfrommvc5/samples/NewMvc6Project/src/NewMvc6Project/package.json
|
||||
:language: javascript
|
||||
:emphasize-lines: 6-8
|
||||
:linenos:
|
||||
|
@ -178,7 +178,7 @@ Now that we've finished setting things up, we're ready to let these tools manage
|
|||
|
||||
.. image:: migratingfrommvc5/_static/task-runner-explorer.png
|
||||
|
||||
The output should show that the process completed without errors, and you should see that it copied some packages to the \wwwroot\lib folder. Open the wwwroot\lib folder in project explorer, and you should find that the client-side dependencies (bootstrap, jquery, etc.) have all been copied into this folder:
|
||||
The output should show that the process completed without errors, and you should see that it copied some packages to the wwwroot/lib folder. Open the wwwroot/lib folder in project explorer, and you should find that the client-side dependencies (bootstrap, jquery, etc.) have all been copied into this folder:
|
||||
|
||||
.. image:: migratingfrommvc5/_static/wwwroot-lib-folder.png
|
||||
|
||||
|
|
Loading…
Reference in New Issue