-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sample events and clean up code in ClockView
Refactored ClockView to include a method for adding sample events dynamically. Removed unused database initializers in Application and added "@fontsource/anton" dependency in package-lock.json.
- Loading branch information
1 parent
e6bc025
commit b4daab4
Showing
6 changed files
with
68 additions
and
34 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
This directory is automatically generated by Vaadin and contains the pre-compiled | ||
frontend files/resources for your project (frontend development bundle). | ||
|
||
It should be added to Version Control System and committed, so that other developers | ||
do not have to compile it again. | ||
|
||
Frontend development bundle is automatically updated when needed: | ||
- an npm/pnpm package is added with @NpmPackage or directly into package.json | ||
- CSS, JavaScript or TypeScript files are added with @CssImport, @JsModule or @JavaScript | ||
- Vaadin add-on with front-end customizations is added | ||
- Custom theme imports/assets added into 'theme.json' file | ||
- Exported web component is added. | ||
|
||
If your project development needs a hot deployment of the frontend changes, | ||
you can switch Flow to use Vite development server (default in Vaadin 23.3 and earlier versions): | ||
- set `vaadin.frontend.hotdeploy=true` in `application.properties` | ||
- configure `vaadin-maven-plugin`: | ||
``` | ||
<configuration> | ||
<frontendHotdeploy>true</frontendHotdeploy> | ||
</configuration> | ||
``` | ||
- configure `jetty-maven-plugin`: | ||
``` | ||
<configuration> | ||
<systemProperties> | ||
<vaadin.frontend.hotdeploy>true</vaadin.frontend.hotdeploy> | ||
</systemProperties> | ||
</configuration> | ||
``` | ||
|
||
Read more [about Vaadin development mode](https://vaadin.com/docs/next/flow/configuration/development-mode#precompiled-bundle). |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters