Skip to content

Commit

Permalink
fix: move assets to correct path
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Sep 26, 2024
1 parent 52fb0a8 commit 2da554d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,19 @@
if (!defined("PROCESSWIRE_INSTALL")) die();

/** @var Installer $installer */
/** @var ProcessWire $wire */
/** @var Pages $pages */
/** @var User $user */
// …and so on for other API variables

// copy config files to pw root
wire()->files->copy(
$wire->files->copy(
__DIR__ . '/assets/tailwind.config.js',
$config->paths->root
);
wire()->files->copy(
$wire->files->copy(
__DIR__ . '/assets/package.json',
$config->paths->root
);

// copy livereload.php to site folder
wire()->files->copy(
__DIR__ . '/assets/livereload.php',
$config->paths->site
);

$installer->ok('Finished installing site profile');

0 comments on commit 2da554d

Please sign in to comment.