Skip to content

Commit 87f3e1f

Browse files
committed
adding dev bundle to SCM so that first run should be fast
1 parent bfd1ecc commit 87f3e1f

15 files changed

+13499
-123
lines changed

.gitignore

Lines changed: 1 addition & 123 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1 @@
1-
package.json
2-
package-lock.json
3-
webpack.generated.js
4-
webpack.config.js
5-
6-
node
7-
node_modules
8-
9-
10-
*.iml
11-
.idea/*
12-
_data/webdrivers/*
13-
14-
# Created by .ignore support plugin (hsz.mobi)
15-
### JetBrains template
16-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
17-
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
18-
19-
# User-specific stuff
20-
.idea/**/workspace.xml
21-
.idea/**/tasks.xml
22-
.idea/**/dictionaries
23-
.idea/**/shelf
24-
25-
# Sensitive or high-churn files
26-
.idea/**/dataSources/
27-
.idea/**/dataSources.ids
28-
.idea/**/dataSources.local.xml
29-
.idea/**/sqlDataSources.xml
30-
.idea/**/dynamic.xml
31-
.idea/**/uiDesigner.xml
32-
33-
# Gradle
34-
.idea/**/gradle.xml
35-
.idea/**/libraries
36-
37-
# CMake
38-
cmake-build-debug/
39-
cmake-build-release/
40-
41-
# Mongo Explorer plugin
42-
.idea/**/mongoSettings.xml
43-
44-
# File-based project format
45-
*.iws
46-
47-
# IntelliJ
48-
out/
49-
50-
# mpeltonen/sbt-idea plugin
51-
.idea_modules/
52-
53-
# JIRA plugin
54-
atlassian-ide-plugin.xml
55-
56-
# Cursive Clojure plugin
57-
.idea/replstate.xml
58-
59-
# Crashlytics plugin (for Android Studio and IntelliJ)
60-
com_crashlytics_export_strings.xml
61-
crashlytics.properties
62-
crashlytics-build.properties
63-
fabric.properties
64-
65-
# Editor-based Rest Client
66-
.idea/httpRequests
67-
### Maven template
68-
target/
69-
pom.xml.tag
70-
pom.xml.releaseBackup
71-
pom.xml.versionsBackup
72-
pom.xml.next
73-
release.properties
74-
dependency-reduced-pom.xml
75-
buildNumber.properties
76-
.mvn/timing.properties
77-
78-
# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
79-
!/.mvn/wrapper/maven-wrapper.jar
80-
### Java template
81-
# Compiled class file
82-
*.class
83-
84-
# Log file
85-
*.log
86-
87-
# BlueJ files
88-
*.ctxt
89-
90-
# Mobile Tools for Java (J2ME)
91-
.mtj.tmp/
92-
93-
# Package Files #
94-
*.jar
95-
*.war
96-
*.nar
97-
*.ear
98-
*.zip
99-
*.tar.gz
100-
*.rar
101-
102-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
103-
hs_err_pid*
104-
### Kotlin template
105-
# Compiled class file
106-
107-
# Log file
108-
109-
# BlueJ files
110-
111-
# Mobile Tools for Java (J2ME)
112-
113-
# Package Files #
114-
115-
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
116-
### NetBeans template
117-
nbproject/private/
118-
build/
119-
nbbuild/
120-
dist/
121-
nbdist/
122-
.nb-gradle/
123-
1+
target

src/main/dev-bundle/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
This directory is automatically generated by Vaadin and contains the pre-compiled
2+
frontend files/resources for your project (frontend development bundle).
3+
4+
It should be added to Version Control System and committed, so that other developers
5+
do not have to compile it again.
6+
7+
Frontend development bundle is automatically updated when needed:
8+
- an npm/pnpm package is added with @NpmPackage or directly into package.json
9+
- CSS, JavaScript or TypeScript files are added with @CssImport, @JsModule or @JavaScript
10+
- Vaadin add-on with front-end customizations is added
11+
- Custom theme imports/assets added into 'theme.json' file
12+
- Exported web component is added.
13+
14+
If your project development needs a hot deployment of the frontend changes,
15+
you can switch Flow to use Vite development server (default in Vaadin 23.3 and earlier versions):
16+
- set `vaadin.frontend.hotdeploy=true` in `application.properties`
17+
- configure `vaadin-maven-plugin`:
18+
```
19+
<configuration>
20+
<frontendHotdeploy>true</frontendHotdeploy>
21+
</configuration>
22+
```
23+
- configure `jetty-maven-plugin`:
24+
```
25+
<configuration>
26+
<systemProperties>
27+
<vaadin.frontend.hotdeploy>true</vaadin.frontend.hotdeploy>
28+
</systemProperties>
29+
</configuration>
30+
```
31+
32+
Read more [about Vaadin development mode](https://vaadin.com/docs/next/configuration/development-mode/#pre-compiled-front-end-bundle-for-faster-start-up).

0 commit comments

Comments
 (0)