bower.js 文件应位于 VS 2015 Web 项目中的哪个文件夹?
Which folder should the bower.js file be in inside of a VS 2015 web project?
我正在玩弄一个使用 Bower 的 Angular 网站。为了在 VS 2015 web 项目中运行,我创建了一个 wwwroot 文件夹并将 app 文件夹移动到其中。
所以现在我的文件夹结构如下所示:
MyWebsite\
MyWebsite.sln
bower.json
gruntfile.js
node_modules\
bower_components\
wwwroot\
app\
bower_components\
... (all my other Angular files)
我认为 bower_components 文件夹现在重复了,但我不确定应该删除哪个文件夹(如果删除,bower.json 应该在哪里)?
通常你会把所有东西都放在(相对于)www-root
里面。 www-root/images
中的图像、www-root/js
中的 javascript 图像,依此类推。甚至在 www-root/app
.
里面
我正在玩弄一个使用 Bower 的 Angular 网站。为了在 VS 2015 web 项目中运行,我创建了一个 wwwroot 文件夹并将 app 文件夹移动到其中。
所以现在我的文件夹结构如下所示:
MyWebsite\
MyWebsite.sln
bower.json
gruntfile.js
node_modules\
bower_components\
wwwroot\
app\
bower_components\
... (all my other Angular files)
我认为 bower_components 文件夹现在重复了,但我不确定应该删除哪个文件夹(如果删除,bower.json 应该在哪里)?
通常你会把所有东西都放在(相对于)www-root
里面。 www-root/images
中的图像、www-root/js
中的 javascript 图像,依此类推。甚至在 www-root/app
.