Preset

class Preset (View source)

Methods

static void ensureComponentDirectoryExists()

Ensure the component directories we need exist.

static void updatePackages(bool $dev = true)

Update the "package.json" file.

static void removeNodeModules()

Remove the installed Node modules.

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

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