laravel-inertia-vue-starter-kit maintained by mkinyua53
Laravel Inertia Vue Startkit
This is laravel starter kit to quickly start off a new project. It uses Jestream and Fortify for authentication.
The frontend uses Vuetify and TailwindCSS.
There is a service worker setup and window.PasswordCredential is used for optional fast login.
The Setting model can be used to tweak the app either in the frontend or backend. Sample usage in a component:
const $settings = inject('$systemSettings')
<a href="/auth/google/redirect" class="text-center text-decoration-none"
v-if="$settings['use google login']">
<v-btn size="small" color="primary" variant="tonal" class="ring-1" prepend-icon="mdi-google">
Log In with Google
</v-btn>
</a>
How to use
You should have the Laravel installer.
laravel new my-app --using=mkinyua53/laravel-inertia-vue-starter-kit
Features
- Authorization using DirectoryTree/Authorization
Check the authorization.php for the roles and permissions. There's a command php artisan install:auth to install the authorization tables. It can also be used in deployment script as used in the Envoy file
-
Laravel Envoy is used to deploy the application.
Make sure to update the client_id and client_secret in config/services.php.
The use google login setting should be set to true. Settings can be accessed via the /settings URI.
- Google Analytics (GTM)
Update the two occurences of GTM-3333DDD3 in resources/views/app.blade.php
- Laravel Pulse
Check the AppServiceProvider.php for the pulse access configuration
- Laravel Log Viewer
Check the AppServiceProvider.php for the log viewer access configuration