Vue
class Vue extends Preset (View source)
Methods
static void
ensureComponentDirectoryExists()
Ensure the component directories we need exist.
from
Preset
static void
install()
Install the preset.
static array
updatePackageArray(array $packages)
Update the given package array.
static void
updateWebpackConfiguration()
Update the Webpack configuration.
static void
updateComponent()
Update the example component.
static void
updateBootstrapping()
Update the bootstrapping files.
Details
in
Preset at line 14
static protected void
ensureComponentDirectoryExists()
Ensure the component directories we need exist.
in
Preset at line 29
static protected void
updatePackages(bool $dev = true)
Update the "package.json" file.
in
Preset at line 56
static protected void
removeNodeModules()
Remove the installed Node modules.
static void
install()
Install the preset.
static protected array
updatePackageArray(array $packages)
Update the given package array.
static protected void
updateWebpackConfiguration()
Update the Webpack configuration.
static protected void
updateComponent()
Update the example component.
static protected void
updateBootstrapping()
Update the bootstrapping files.