Tiny hands is a Laravel multi-tenant boilerplate with SPA and i18n using the following technology stack:
- Laravel 9.0
- API with Passport Token
- Roles and Permission using (https://github.com/spatie/laravel-permission)
- Multi-tenancy using (https://github.com/tenancy/tenancy)
- Nuxtjs v3
- Vue 3
- Fetch
- Tailwind CSS
- Vue Notification
- Vue i18n
- Pinia
composer install
php artisan migrate
php artisan tenancy:create tenant1
# this will create your first tenant (https://tenant1.tiny-hands.test/)php artisan vendor:publish --tag=tiny-hands::ui
# publishes ui from/ui/.output/public
to/public
UI assets resides in the /ui
directory. It's a Nuxtjs installation. You can read more about Nuxtjs on their website (https://nuxtjs.org).
You can modify the UI to your liking which you will then need to rebuild and regenerate them.
cd ui
yarn
yarn build
yarn generate
# the generated assets will now reside in/ui/.output
cd ../public
# remove the files you see inside this directory that is also in the directory/ui/.output/public
cd ..
# cd back to the root of the projectphp artisan vendor:publish --tag=tiny-hands::ui
# publishes ui from/ui/.output/public
to/public