Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Tapestry 5.5.0 and later also includes Bootstrap 4.3.1. To use it, just add @ImportModuleadd @ImportModule(Bootstrap4Module.class) to your application's module class (normal AppModule.java):


Code Block
languagejava
titleAppModule.java (partial)
@ImportModule(Bootstrap4Module.class)
public class AppModule {
. . .


Tapestry 5.5.0 and later also allows you to have Tapestry not provide any CSS at all. To do that, just add @ImportModule(NoBootstrapModule.class) to your module class. In this case, you'll need to set the tapestry.default-stylesheet (SymbolConstants#DEFAULT_STYLESHEET) configuration symbol to tell Tapestry what's your main CSS file. Otherwise, an exception will be thrown and the webapp won't start.

...