-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bugs, added font-icon generator, readme
- Loading branch information
1 parent
40dc0e4
commit 041377d
Showing
9 changed files
with
95 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Whitecube Laravel Preset | ||
|
||
This preset will install and setup everything that is needed for new Laravel projects at Whitecube. | ||
|
||
To start a new project: | ||
|
||
``` | ||
// Creating the new Laravel project | ||
laravel new my-project | ||
cd my-project | ||
// Installing the preset | ||
composer require whitecube/laravel-preset | ||
// Activating the preset | ||
php artisan ui whitecube | ||
// Installing front-end dependencies | ||
yarn | ||
// You're done! You can now compile, watch, etc! | ||
yarn dev | ||
yarn watch | ||
yarn icons | ||
yarn watch-icons | ||
``` | ||
|
||
Everything you'd expect should be there, and you can get to work right away. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace Whitecube\LaravelPreset; | ||
|
||
use \File; | ||
|
||
class Assets | ||
{ | ||
|
||
public static function install() | ||
{ | ||
File::ensureDirectoryExists('resources/img'); | ||
File::ensureDirectoryExists('resources/fonts'); | ||
File::ensureDirectoryExists('resources/icons'); | ||
File::ensureDirectoryExists('resources/favicon'); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters