Skip to content

refactor: stable renaming #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -5,5 +5,5 @@ This is a simple example how to use DB UX npm libraries with SpringBoot.
You need to add npm packages to [webjars](https://www.webjars.org/) via "Add web jar" button:
![img.png](img.png)

Select ``npm`` and paste the name of the npm library into the input (in this example `@db-ui/components`) and select a version. Press "Deploy!" afterward:
Select `npm` and paste the name of the npm library into the input (in this example `@db-ux/core-components`) and select a version. Press "Deploy!" afterward:
![img_1.png](img_1.png)
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -31,12 +31,12 @@
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>db-ui__foundations</artifactId>
<artifactId>db-ux__core-foundations</artifactId>
<version>0.4.4</version>
</dependency>
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>db-ui__components</artifactId>
<artifactId>db-ux__core-components</artifactId>
<version>0.4.4</version>
</dependency>
<dependency>
24 changes: 14 additions & 10 deletions src/main/resources/static/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<head>
<title>Play2 WebJars Demo</title>
<link rel='stylesheet' media='screen' href='/webjars/db-ui__components/build/styles/db-ui-42.css'>
</head>
<body>
<main>
<h1>Test</h1>
<div data-icon="person">Test</div>
<button class="db-button">Test</button>
</main>
</body>
<link
rel="stylesheet"
media="screen"
href="/webjars/db-ux__core-components/build/styles/relative.css"
/>
</head>
<body>
<main>
<h1>Test</h1>
<div data-icon="person">Test</div>
<button class="db-button">Test</button>
</main>
</body>
</html>