Commit aded7435 authored by Dave Syer's avatar Dave Syer

Swicth to webjars for static sample

parent 559f907b
...@@ -33,6 +33,16 @@ ...@@ -33,6 +33,16 @@
<artifactId>spring-boot-starter-test</artifactId> <artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>bootstrap</artifactId>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>jquery</artifactId>
<version>2.0.3-1</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>
......
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
<head> <head>
<title>Static</title> <title>Static</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="/js/jquery.min.js"></script> <script type="text/javascript" src="/webjars/jquery/2.0.3/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" <link rel="stylesheet" type="text/css"
href="/css/bootstrap-responsive.min.css" /> href="/webjars/bootstrap/2.3.0/css/bootstrap.min.css" />
<script type="text/javascript" src="/js/bootstrap.min.js"></script> <link rel="stylesheet" type="text/css"
href="/webjars/bootstrap/2.3.0/css/bootstrap-responsive.min.css" />
<script type="text/javascript" src="/webjars/bootstrap/2.3.0/js/bootstrap.min.js"></script>
</head> </head>
<body> <body>
<div class="navbar"> <div class="navbar">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment