GithubHelp home page GithubHelp logo

缺少一些css和js文件? about springblog HOT 3 OPEN

raysmond avatar raysmond commented on April 28, 2024 1
缺少一些css和js文件?

from springblog.

Comments (3)

lubical avatar lubical commented on April 28, 2024 1

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

from springblog.

loveYukiiii avatar loveYukiiii commented on April 28, 2024

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
我的页面报这些错,有登陆页面,项目运行也是很好,就是页面没有样式,一堆字堆叠在一起。

from springblog.

sadikelong avatar sadikelong commented on April 28, 2024

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

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

作者可否提供下

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

from springblog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.