首页 > 文章列表 > 怎么在springboot中整合jquery和bootstrap框架

怎么在springboot中整合jquery和bootstrap框架

Bootstrap jquery springboot
231 2023-05-12

怎么在springboot中整合jquery和bootstrap框架

<dependency>

      <groupId>org.webjars</groupId>

      <artifactId>jquery</artifactId>

      <version>3.4.1</version>

    </dependency>



    <dependency>

      <groupId>org.webjars</groupId>

      <artifactId>bootstrap</artifactId>

      <version>3.3.7</version>

    </dependency>



    <!-- https://mvnrepository.com/artifact/org.webjars/webjars-locator -->

    <dependency>

      <groupId>org.webjars</groupId>

      <artifactId>webjars-locator</artifactId>

      <version>0.32</version>

    </dependency>

<link rel="stylesheet" href="webjars/bootstrap/css/bootstrap.css" rel="external nofollow" >

 

<script src="webjars/jquery/jquery.js"></script>

<script src="webjars/bootstrap/js/bootstrap.js"></script>