Guest User

How to add HUD Theme to Laravel 11 skeleton from Github

a guest
Oct 11th, 2024
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | Source Code | 0 0
  1. 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:
  2.  
  3. [copy new from hud_startup into laravel_11 folder]
  4. config/sidebar.php
  5. public/assets
  6. public/images
  7. resources/js/demo
  8. resources/lang
  9. resources/scss
  10. resources/views/errors
  11. resources/views/layout
  12. resources/views/pages
  13. resources/views/partial
  14. tests/CreatesApplication.php
  15. .styleci.yml
  16. server.php
  17.  
  18. [create new by copying from laravel_11 file '.env.example']
  19. .env
  20.  
  21. [delete existing laravel_11 file or folder; not used]
  22. resources/views/welcome.blade.php
  23. storage/app/private
  24. vite.config.js
  25.  
  26. [overwrite existing laravel_11 file with same file from hud_startup]
  27. resources/js/app.js
  28. routes/web.php
  29. storage/app/.gitignore
  30. tests/TestCase.php
  31.  
  32. [keep laravel_11 file, ignore hud_startup version for now (add auth later)]
  33. composer.json
  34.  
  35. [files/folders added programmatically]
  36. vendor --> this gets added by 'composer install'
  37. node_modules --> this gets added by 'npm install'
  38. database/database.sqlite --> this gets added by 'php artisan migrate'
  39.  
  40. 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