Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

缺少一些css和js文件? #33

Open
renwuqiang opened this issue Oct 10, 2018 · 3 comments
Open

缺少一些css和js文件? #33

renwuqiang opened this issue Oct 10, 2018 · 3 comments

Comments

@renwuqiang
Copy link

比如
http://localhost:8080/bower_components/bootstrap/dist/css/bootstrap.min.css

找了半天也没有bower_components文件夹
后发现.gitignore文件直接给屏蔽了src/main/resources/static/bower_components

作者可否提供下

@loveYukiiii
Copy link

Refused to apply style from 'http://localhost:8080/bower_components/fontawesome/css/font-awesome.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
3admin:1 GET http://localhost:8080/bower_components/bootstrap/dist/js/bootstrap.min.js net::ERR_ABORTED 404
admin:1 Refused to apply style from 'http://localhost:8080/bower_components/bootstrap/dist/css/bootstrap.min.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
4admin:1 GET http://localhost:8080/bower_components/to-markdown/dist/to-markdown.js net::ERR_ABORTED 404
bootstrap-paginator.min.js:120 Uncaught TypeError: Cannot read property 'fn' of undefined
at bootstrap-paginator.min.js:120
at bootstrap-paginator.min.js:208
(anonymous) @ bootstrap-paginator.min.js:120
(anonymous) @ bootstrap-paginator.min.js:208
我的页面报这些错,有登陆页面,项目运行也是很好,就是页面没有样式,一堆字堆叠在一起。

@sadikelong
Copy link

比如
http://localhost:8080/bower_components/bootstrap/dist/css/bootstrap.min.css

找了半天也没有bower_components文件夹
后发现.gitignore文件直接给屏蔽了src/main/resources/static/bower_components

作者可否提供下

确实差这个文件夹,导致样式没有,文字堆积在一起。原作者能否上传一下,感谢。

@lubical
Copy link

lubical commented Aug 7, 2020

作者使用了Bower管理包,需要先安装bower,然后在命令行中执行bower install jquery;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants