File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 1
- /*
2
- CSS styling examples for the Vaadin app.
3
-
4
- Visit https://vaadin.com/docs/styling/application-theme/ for more information.
5
- */
1
+ @import '@vaadin/aura/aura.css' ;
6
2
7
3
/* Example: CSS class name to center align the content . */
8
4
.centered-content {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
package org .vaadin .example ;
2
2
3
- import com .vaadin .flow .component .page .AppShellConfigurator ;
4
- import com .vaadin .flow .server .PWA ;
5
- import com .vaadin .flow .theme .Theme ;
6
3
import org .springframework .boot .SpringApplication ;
7
4
import org .springframework .boot .autoconfigure .SpringBootApplication ;
8
5
6
+ import com .vaadin .flow .component .dependency .CssImport ;
7
+ import com .vaadin .flow .component .dependency .NpmPackage ;
8
+ import com .vaadin .flow .component .page .AppShellConfigurator ;
9
+ import com .vaadin .flow .server .PWA ;
10
+
9
11
/**
10
12
* The entry point of the Spring Boot application.
11
13
*
15
17
*/
16
18
@ SpringBootApplication
17
19
@ PWA (name = "Project Base for Vaadin with Spring" , shortName = "Project Base" )
18
- @ Theme ( "my-theme " )
20
+ @ CssImport ( "./styles.css " )
19
21
public class Application implements AppShellConfigurator {
20
22
21
23
public static void main (String [] args ) {
You can’t perform that action at this time.
0 commit comments