com.vaadin.flow.server.frontend.
Package com.vaadin.flow.server.frontend
-
ClassDescription
Abstract class for generating client files.
Utilities for commercial product handling.
A factory for creating Vaadin Endpoint generator tasks.
Fall back chunk info.
Css data stored in fallback chunk.
A generic command which may fail.
Provides access to frontend tools (Node.js and npm, pnpm) and optionally installs the tools if needed.
Helps to locate the tools in the system by their names.
Configuration object for controlling the
FrontendTools
features.A class for static methods and definitions that might be used in different locations.
Thrown when the command execution fails.
Thrown when detecting the version of a tool fails.
Version object for frontend versions comparison and handling.
Generates embeddable web component files in npm mode, hiding the complexity caused by using a different class loader.
Collect generated-flow-imports content for project to use to determine if dev-bundle contains all required imports.
Shared code for managing contents of jar files.
An executor that it's run when the servlet context is initialised in dev-mode or when flow-maven-plugin goals are run.
Base abstract class for frontend updaters that needs to be run when in dev-mode or from the flow maven plugin.
Build a
NodeExecutor
instance.Copies JavaScript and CSS files from JAR files into a given folder.
Copies JavaScript files from the given local frontend folder.
Copies template files to the target folder so as to be available for parsing at runtime in production mode.
A task for generating the bootstrap file
FrontendUtils.BOOTSTRAP_FILE_NAME
during `package` Maven goal.Generate the TS files for endpoints, and the Client API file.
A task for generating the feature flags file
FrontendUtils.FEATURE_FLAGS_FILE_NAME
during `package` Maven goal.Generate
index.html
if it is missing in frontend folder.Generate
index.ts
if it is missing in frontend folder.Generate OpenAPI json file for Vaadin Endpoints.
Creates the
package.json
if missing.Generate
index.html
if it is missing in frontend folder.Generate
tsconfig.json
if it is missing in project folder.Generate
types.d.ts
if it is missing in project folder andtsconfig.json
exists in project folder.Generate
vite-devmode.ts
if it is missing in frontend/generated folder.A task for generating the bootstrap file for exported web components
FrontendUtils.WEB_COMPONENT_BOOTSTRAP_FILE_NAME
during `package` Maven goal.Generate
web-component.html
if it is missing in frontend folder.Task that installs any Flow webpack plugins into node_modules/@vaadin for use with webpack compilation.
Compiles the dev mode bundle if it is out of date.
Run
npm install
after dependencies have been updated.Container for npm installation statistics.
An updater that it's run when the servlet context is initialised in dev-mode or when flow-maven-plugin goals are run in order to update Flow imports file and "jar-resources" contents by visiting all classes with
JsModule
andTheme
annotations.Updates
package.json
by visitingNpmPackage
annotations found in the classpath.Creates a vaadin-dev-server-settings.json file for use with dev server configuration.
Task generating the theme definition file 'theme.js' for importing application theme into the generated frontend directory.
Updates the Vite configuration files according with current project settings.
Exception thrown for when a node task that is not in the task list is encountered.