Skip to content

Commit

Permalink
feat: add version, deps, enqueue and register services
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Kramer authored and Brandon Kramer committed Jul 5, 2023
1 parent 8fa35f0 commit f1f6623
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/AssetsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

namespace WPStrap\Vite;

use WPStrap\Vite\Handlers\ScriptInterface;
use WPStrap\Vite\Handlers\StyleInterface;

/**
* Class AssetsInterface
*/
Expand Down
5 changes: 5 additions & 0 deletions src/AssetsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

namespace WPStrap\Vite;

use WPStrap\Vite\Handlers\ScriptInterface;
use WPStrap\Vite\Handlers\StyleInterface;
use WPStrap\Vite\Handlers\ScriptService;
use WPStrap\Vite\Handlers\StyleService;

/**
* Class AssetsService
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

declare(strict_types=1);

namespace WPStrap\Vite;
namespace WPStrap\Vite\Handlers;

/**
* Class ScriptInterface
Expand Down
2 changes: 1 addition & 1 deletion src/ScriptService.php → src/Handlers/ScriptService.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

declare(strict_types=1);

namespace WPStrap\Vite;
namespace WPStrap\Vite\Handlers;

/**
* Class ScriptService
Expand Down
2 changes: 1 addition & 1 deletion src/StyleInterface.php → src/Handlers/StyleInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

declare(strict_types=1);

namespace WPStrap\Vite;
namespace WPStrap\Vite\Handlers;

/**
* Class StyleInterface
Expand Down
2 changes: 1 addition & 1 deletion src/StyleService.php → src/Handlers/StyleService.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

declare(strict_types=1);

namespace WPStrap\Vite;
namespace WPStrap\Vite\Handlers;

/**
* Class StyleService
Expand Down

0 comments on commit f1f6623

Please sign in to comment.