为Angular项目制作引导程序?

问题描述 投票:0回答:1

我是第一次使用Wakanda在Windows上设置我的开发环境。

我有npm installed --save bootstrap4和jquery。

我的页面没有采用bootstrap类样式。

下面是我的package.json代码(我开始使用unix filesystem'/'字符并试过windows'\',既没有工作)

我需要修改index.html吗?

  "scripts": [
    "..\node_modules\jquery\dist\jquery.js",
    "..\node_modules\bootstrap\dist\js\bootstrap.js"
  ],
  "styles": [
    "..\node_modules\bootstrap\dist\css\bootstrap.min.css",
    "styles.css"
  ]
angular twitter-bootstrap wakanda
1个回答
2
投票

我正在编辑错误的文件。我在Wakanda的package.json目录中编辑backend。我应该一直在编辑angular-cli.json

© www.soinside.com 2019 - 2024. All rights reserved.