tiny-hands
tiny-hands copied to clipboard
Tiny hands is a Laravel multi-tenant boilerplate with SPA and i18n.
About Tiny Hands
Tiny hands is a Laravel multi-tenant boilerplate with SPA and i18n using the following technology stack:
Backend
- 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)
Frontend
- Nuxtjs v3
- Vue 3
- Fetch
- Tailwind CSS
- Vue Notification
- Vue i18n
- Pinia
Out of the box Setup
composer installphp artisan migratephp 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/publicto/public
Compiling and publishing UI assets
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 uiyarnyarn buildyarn generate# the generated assets will now reside in/ui/.outputcd ../public# remove the files you see inside this directory that is also in the directory/ui/.output/publiccd ..# cd back to the root of the projectphp artisan vendor:publish --tag=tiny-hands::ui# publishes ui from/ui/.output/publicto/public