Add Bower Packages to a VS 2015 ASP.NET 5 App
The Visual Studio 2015 MVC 5 Web Application template supports Bower out of the box. Follow the steps below to add the DevExtreme libraries to an MVC 5 application using Bower.
Open the bower.json file located in the root folder of your application project.
dependenciessection in this file, put a comma after the last entry and copy-paste the following line.
"devextreme": "~16.2" // restores DevExtreme
Wait a few seconds until the libraries are loaded. DevExtreme scripts will be located in the wwwroot/lib/devextreme folder.
Link the needed libraries within the
<head>tag of your index page.HTML
<link rel="stylesheet" type="text/css" href="/bower-components/devextreme/css/dx.common.css" /> <link rel="stylesheet" type="text/css" href="/bower-components/devextreme/css/dx.light.css" />