vb-pwa-splashscreen

Creates PNG splash screens and a links.html file from the given SVG file. This task is typically used to overwrite the default Visual Builder splash screens with a custom splash screen.

The resources are generated into the sources of the specified visual web application, specifically into the resources/splashscreens directory.

The generated resources:

You provide the path to the specific application where you want the assets generated as the task target (in the following example, webApps/myApp is the path to the application):

grunt vb-pwa-splashscreens:webApps/myApp --svg=mysplash.svg

It’s possible to configure the underlying package by specifying pwa-asset-generator properties, for example, to specify a background color (see pwa-asset-generator):

grunt vb-pwa-splashscreens:webApps/myApp --svg=mysplash.svg --pwa-asset-generator:background=yellow

Details

Detail Description
subtasks n/a
multitask n/a
hooks n/a
input path to SVG file
output ${sources}webApps/<appid>

Build Options

Name Mandatory Default Value Description
target n/a build Name of build directory
git-sources n/a check Location of sources of the visual application
svg Yes n/a Path to SVG file
pwa-asset-generator n/a n/a

Properties to pass to pwa-asset-generator config

For a list of possible options, see: pwa-asset-generator