├── public
├── favicon.ico
├── robots.txt
├── .htaccess
├── web.config
└── index.php
├── database
├── .gitignore
├── seeds
│ └── DatabaseSeeder.php
├── migrations
│ ├── 2014_10_12_100000_create_password_resets_table.php
│ ├── 2014_10_12_000000_create_users_table.php
│ └── 2017_12_07_122845_create_oauth_providers_table.php
└── factories
│ └── UserFactory.php
├── bootstrap
├── cache
│ └── .gitignore
└── app.php
├── storage
├── logs
│ └── .gitignore
├── app
│ ├── public
│ │ └── .gitignore
│ └── .gitignore
└── framework
│ ├── testing
│ └── .gitignore
│ ├── views
│ └── .gitignore
│ ├── cache
│ ├── .gitignore
│ └── data
│ │ └── .gitignore
│ ├── sessions
│ └── .gitignore
│ └── .gitignore
├── client
├── assets
│ └── css
│ │ ├── _tailwind.css
│ │ └── main.css
├── plugins
│ ├── nuxt-client-init.js
│ ├── vue-tailwind.js
│ ├── i18n.js
│ └── axios.js
├── static
│ └── favicon.ico
├── middleware
│ ├── guest.js
│ ├── auth.js
│ ├── locale.js
│ └── check-auth.js
├── layouts
│ ├── simple.vue
│ └── default.vue
├── components
│ ├── global
│ │ ├── LayoutMain.vue
│ │ ├── Card.vue
│ │ ├── index.js
│ │ ├── Container.vue
│ │ ├── LayoutNavigation.vue
│ │ ├── LayoutContainer.vue
│ │ └── LoginWithGithub.vue
│ ├── Logo.vue
│ ├── LocaleDropdown.vue
│ ├── AccountDropdown.vue
│ └── Navbar.vue
├── pages
│ ├── home.vue
│ ├── welcome.vue
│ ├── settings
│ │ ├── index.vue
│ │ ├── password.vue
│ │ └── profile.vue
│ └── auth
│ │ ├── password
│ │ ├── email.vue
│ │ └── reset.vue
│ │ ├── login.vue
│ │ └── register.vue
├── store
│ ├── lang.js
│ ├── index.js
│ └── auth.js
├── modules
│ └── spa.js
├── utils
│ └── index.js
├── lang
│ ├── zh-CN.json
│ ├── en.json
│ └── es.json
├── nuxt.config.js
└── router.js
├── resources
├── views
│ ├── oauth
│ │ ├── emailTaken.blade.php
│ │ └── callback.blade.php
│ └── errors
│ │ └── layout.blade.php
└── lang
│ ├── zh-CN
│ ├── pagination.php
│ ├── auth.php
│ ├── passwords.php
│ └── validation.php
│ ├── en
│ ├── pagination.php
│ ├── auth.php
│ ├── passwords.php
│ └── validation.php
│ └── es
│ ├── pagination.php
│ ├── auth.php
│ ├── passwords.php
│ └── validation.php
├── .gitattributes
├── .gitignore
├── tests
├── TestCase.php
├── Feature
│ ├── RegisterTest.php
│ ├── LocaleTest.php
│ ├── SettingsTest.php
│ ├── LoginTest.php
│ ├── OAuthTest.php
│ └── UserControllerTest.php
└── CreatesApplication.php
├── .eslintrc
├── .editorconfig
├── app
├── Http
│ ├── Middleware
│ │ ├── EncryptCookies.php
│ │ ├── VerifyCsrfToken.php
│ │ ├── TrimStrings.php
│ │ ├── TrustProxies.php
│ │ ├── RedirectIfAuthenticated.php
│ │ └── SetLocale.php
│ ├── Controllers
│ │ ├── Controller.php
│ │ ├── Settings
│ │ │ ├── PasswordController.php
│ │ │ └── ProfileController.php
│ │ ├── Auth
│ │ │ ├── ResetPasswordController.php
│ │ │ ├── ForgotPasswordController.php
│ │ │ ├── RegisterController.php
│ │ │ ├── LoginController.php
│ │ │ └── OAuthController.php
│ │ └── UserController.php
│ ├── Requests
│ │ └── UserRequest.php
│ └── Kernel.php
├── Exceptions
│ ├── EmailTakenException.php
│ └── Handler.php
├── Providers
│ ├── BroadcastServiceProvider.php
│ ├── EventServiceProvider.php
│ ├── AppServiceProvider.php
│ ├── AuthServiceProvider.php
│ └── RouteServiceProvider.php
├── Models
│ ├── OAuthProvider.php
│ └── User.php
├── Notifications
│ └── ResetPassword.php
├── Traits
│ └── HasRole.php
├── Console
│ └── Kernel.php
└── Policies
│ └── UserPolicy.php
├── .eslintrc.js
├── postcss.config.js
├── routes
├── channels.php
├── web.php
├── console.php
└── api.php
├── server.php
├── .env.example
├── package.json
├── LICENSE
├── config
├── view.php
├── services.php
├── hashing.php
├── broadcasting.php
├── filesystems.php
├── logging.php
├── queue.php
├── cache.php
├── auth.php
├── database.php
├── mail.php
├── session.php
└── app.php
├── phpunit.xml
├── artisan
└── composer.json
/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/database/.gitignore:
--------------------------------------------------------------------------------
1 | *.sqlite
2 |
--------------------------------------------------------------------------------
/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/storage/app/public/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/app/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !public/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/storage/framework/testing/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/views/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !data/
3 | !.gitignore
--------------------------------------------------------------------------------
/storage/framework/cache/data/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/storage/framework/sessions/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/client/assets/css/_tailwind.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 |
3 | @tailwind components;
4 |
5 | @tailwind utilities;
6 |
--------------------------------------------------------------------------------
/client/plugins/nuxt-client-init.js:
--------------------------------------------------------------------------------
1 | export default (ctx) => {
2 | ctx.store.dispatch('nuxtClientInit', ctx)
3 | }
4 |
--------------------------------------------------------------------------------
/client/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/alfonsobries/laravel-nuxt-tailwind/HEAD/client/static/favicon.ico
--------------------------------------------------------------------------------
/client/plugins/vue-tailwind.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import VueTailwind from 'vue-tailwind'
3 |
4 | Vue.use(VueTailwind)
5 |
--------------------------------------------------------------------------------
/client/middleware/guest.js:
--------------------------------------------------------------------------------
1 | export default ({ store, redirect }) => {
2 | if (store.getters['auth/check']) {
3 | return redirect('/')
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/client/middleware/auth.js:
--------------------------------------------------------------------------------
1 | export default ({ store, redirect }) => {
2 | if (!store.getters['auth/check']) {
3 | return redirect('/login')
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/storage/framework/.gitignore:
--------------------------------------------------------------------------------
1 | config.php
2 | routes.php
3 | schedule-*
4 | compiled.php
5 | services.json
6 | events.scanned.php
7 | routes.scanned.php
8 | down
9 |
--------------------------------------------------------------------------------
/resources/views/oauth/emailTaken.blade.php:
--------------------------------------------------------------------------------
1 | @extends('errors.layout')
2 |
3 | @section('title', 'Login Error')
4 |
5 | @section('message', 'Email already taken.')
6 |
--------------------------------------------------------------------------------
/client/layouts/simple.vue:
--------------------------------------------------------------------------------
1 |
2 |