Skip to content

Commit b187427

Browse files
committed
Minor fixes
1 parent 8bce586 commit b187427

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

console/asset-compilation-mix.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ mix:
5555
You can configure a custom mix package that sits outside of plugins and themes.
5656

5757
```php
58-
use System\Classes\CompilableAssets;
58+
use System\Classes\Asset\PackageManager;
5959
60-
CompilableAssets::instance()->registerPackage(
60+
PackageManager::instance()->registerPackage(
6161
name: 'my-custom-package',
6262
path: '/path/to/winter.mix.js',
6363
type: 'mix'

console/asset-compilation-vite.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ vite:
5555
You can configure a custom vite package that sits outside of plugins and themes.
5656

5757
```php
58-
use System\Classes\CompilableAssets;
58+
use System\Classes\Asset\PackageManager;
5959
60-
CompilableAssets::instance()->registerPackage(
60+
PackageManager::instance()->registerPackage(
6161
name: 'my-custom-package',
6262
path: '/path/to/vite.config.mjs',
6363
type: 'vite'
@@ -69,7 +69,7 @@ CompilableAssets::instance()->registerPackage(
6969
The command `vite:create` will allow you to automatically generate a basic Vite config which you can then build on top of.
7070

7171
```bash
72-
php artisan vite:config <package name> [--tailwind] [--vue]
72+
php artisan vite:create <package name> [--tailwind] [--vue]
7373
```
7474

7575
By default, the `vite:create` command will only generate the basic `vite.config.mjs` config file. If you would like Winter to pre-configure your package for a certain library / asset bundle, you can provide any of the following flags.

0 commit comments

Comments
 (0)