W3cubDocs

/Laravel 5.8

None

class None extends Preset (View source)

Methods

static void ensureComponentDirectoryExists()

Ensure the component directories we need exist.

from Preset
static void updatePackages(bool $dev = true)

Update the "package.json" file.

from Preset
static void removeNodeModules()

Remove the installed Node modules.

from Preset
static void install()

Install the preset.

static array updatePackageArray(array $packages)

Update the given package array.

static void updateBootstrapping()

Write the stubs for the Sass and JavaScript files.

static void updateWebpackConfiguration()

Update the Webpack configuration.

Details

static protected void ensureComponentDirectoryExists()

Ensure the component directories we need exist.

Return Value

void

static protected void updatePackages(bool $dev = true)

Update the "package.json" file.

Parameters

bool $dev

Return Value

void

static protected void removeNodeModules()

Remove the installed Node modules.

Return Value

void

static void install()

Install the preset.

Return Value

void

static protected array updatePackageArray(array $packages)

Update the given package array.

Parameters

array $packages

Return Value

array

static protected void updateBootstrapping()

Write the stubs for the Sass and JavaScript files.

Return Value

void

static protected void updateWebpackConfiguration()

Update the Webpack configuration.

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Foundation/Console/Presets/None.html