Skip to content

Commit

Permalink
update vite
Browse files Browse the repository at this point in the history
  • Loading branch information
Manzadey committed Sep 9, 2022
1 parent 87f0454 commit 23889fc
Show file tree
Hide file tree
Showing 14 changed files with 513 additions and 433 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/node_modules
/public/build
/public/hot
/public/storage
/storage/*.key
Expand Down
25 changes: 0 additions & 25 deletions app/Helpers/vite.php

This file was deleted.

3 changes: 2 additions & 1 deletion app/Orchid/PlatformProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public function boot(Dashboard $dashboard): void
],
]);

$dashboard->registerResource('stylesheets', vite('resources/assets/platform/platform.main.css'));
$dashboard->registerResource('stylesheets', vite_entry('resources/platform/css/platform.main.css'));
$dashboard->registerResource('scripts', vite_entry('resources/platform/js/app.js'));

$this->registerMacros();
}
Expand Down

0 comments on commit 23889fc

Please sign in to comment.