Skip to content

Commit

Permalink
perf($universal-ui): abstract web pages to sub module universal-ui
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
Johnny Miller (锺俊) committed Jan 21, 2021
1 parent 83ff9eb commit 68a34d3
Show file tree
Hide file tree
Showing 25 changed files with 43 additions and 668 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
<module>auth-center</module>
<module>exercise-mis</module>
<module>muscle-mis</module>
<module>universal-ui</module>
</modules>

<parent>
Expand Down Expand Up @@ -128,6 +129,11 @@
<artifactId>muscle-mis</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.jmsoftware.maf</groupId>
<artifactId>universal-ui</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
4 changes: 4 additions & 0 deletions reactive-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
<groupId>com.jmsoftware.maf</groupId>
<artifactId>common</artifactId>
</dependency>
<dependency>
<groupId>com.jmsoftware.maf</groupId>
<artifactId>universal-ui</artifactId>
</dependency>

<dependency>
<groupId>de.codecentric</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public class WebFluxConfiguration implements WebFluxConfigurer {
* @date 2/17/20 5:19 PM
* @see ResourceHandlerRegistry registry
*/
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
}
// @Override
// public void addResourceHandlers(ResourceHandlerRegistry registry) {
// registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
// }
}
17 changes: 4 additions & 13 deletions spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,6 @@
<version>0.0.2-SNAPSHOT</version>
</parent>

<build>
<resources>
<resource>
<directory>${project.basedir}/src/main/resources/META-INF</directory>
<targetPath>META-INF</targetPath>
</resource>
<resource>
<directory>${project.basedir}/src/main/resources/static</directory>
<targetPath>META-INF/resources/static</targetPath>
</resource>
</resources>
</build>

<!-- Scoped Dependencies Management -->
<dependencies>
<!-- Spring Frameworks -->
Expand Down Expand Up @@ -83,6 +70,10 @@
<groupId>com.jmsoftware.maf</groupId>
<artifactId>common</artifactId>
</dependency>
<dependency>
<groupId>com.jmsoftware.maf</groupId>
<artifactId>universal-ui</artifactId>
</dependency>

<dependency>
<groupId>de.codecentric</groupId>
Expand Down
78 changes: 0 additions & 78 deletions spring-boot-starter/src/main/resources/static/home.html

This file was deleted.

Binary file not shown.
Binary file not shown.
12 changes: 0 additions & 12 deletions spring-boot-starter/src/main/resources/static/script/404.js

This file was deleted.

72 changes: 0 additions & 72 deletions spring-boot-starter/src/main/resources/static/script/home.js

This file was deleted.

17 changes: 0 additions & 17 deletions spring-boot-starter/src/main/resources/static/script/video.js

This file was deleted.

89 changes: 0 additions & 89 deletions spring-boot-starter/src/main/resources/static/styles/404.css

This file was deleted.

Loading

0 comments on commit 68a34d3

Please sign in to comment.