Client-Side Module Descriptor

    When defining a widget set to build the Vaadin client-side engine, the only necessary task is to inherit a base widget set. If you are developing a regular widget set, you should normally inherit the DefaultWidgetSet.

    If you are developing a pure client-side application, you should instead inherit com.vaadin.Vaadin, as described in “Client-Side Applications”. In that case, the module descriptor also needs an entry-point.

    If you are using the Eclipse IDE, the New Vaadin Widget wizard will automatically create the GWT module descriptor. See for detailed instructions.

    A client-side module can include CSS stylesheets. When the module is compiled, these stylesheets are copied to the output target. In the module descriptor, define a stylesheet element.

    For example, if you are developing a custom widget and want to have a default stylesheet for it, you could define it as follows:

    The specified path is relative to the public folder under the folder of the module descriptor.

    Limiting Compilation Targets

    The value attribute should match your browser. The browsers supported by GWT depend on the GWT version, below is a list of browser identifiers supported by GWT.