Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Go to Github and download the latest Laravel 11 (11.2.1 as I write). Unzip it somewhere. In another tab/window open up the HUD theme. Then make the following modifications:
- [copy new from hud_startup into laravel_11 folder]
- config/sidebar.php
- public/assets
- public/images
- resources/js/demo
- resources/lang
- resources/scss
- resources/views/errors
- resources/views/layout
- resources/views/pages
- resources/views/partial
- tests/CreatesApplication.php
- .styleci.yml
- server.php
- [create new by copying from laravel_11 file '.env.example']
- .env
- [delete existing laravel_11 file or folder; not used]
- resources/views/welcome.blade.php
- storage/app/private
- vite.config.js
- [overwrite existing laravel_11 file with same file from hud_startup]
- resources/js/app.js
- routes/web.php
- storage/app/.gitignore
- tests/TestCase.php
- [keep laravel_11 file, ignore hud_startup version for now (add auth later)]
- composer.json
- [files/folders added programmatically]
- vendor --> this gets added by 'composer install'
- node_modules --> this gets added by 'npm install'
- database/database.sqlite --> this gets added by 'php artisan migrate'
- If you make these changes, you will have a complete Laravel 11 version of the HUD theme. You can easily see how to expand for the full demo theme. Note that last command 'php artisan migrate'. If you forget to run this, you will see an error that database.sqlite doesn't exist. Simply run the initial migration command, then 'php artisan serve' as usual, and you should see the HUD Startup Theme running.
Advertisement
Add Comment
Please, Sign In to add comment