Bootstrap modal not displaying

后端 未结 19 1838
逝去的感伤
逝去的感伤 2020-12-29 01:52

I\'ve copied and pasted the example code from twitter bootstrap to create a basic modal window in my Rails 3.2 app:


19条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 02:25

    You are supposed to import jquery and bootstrap.min.js.

    Add this to angular-cli:

    "scripts": ["../node_modules/jquery/dist/jquery.min.js",
            "../node_modules/bootstrap/dist/js/bootstrap.min.js"]
    

    make sure you have its folders.

提交回复
热议问题