
This is an upgraded and modified version ofm2sd/nuxt-laravel-starter with BootstrapVue instead of Vuetify and Laravel 7 with Sanctum SPA Auth.
Features:
- Laravel 7
- Sanctum SPA Auth
- public_html as public dir
- NuxtJS (pallares/laravel-nuxt)
- BootstrapVue
- DotEnv
- ESLint + VSCode support
- Jest
Installation
- Clone repository:
$git clone https://github.com/ordigital/laravel-nuxt-bs.git your-project$cdyour-project
- Run auto-setup:
$./setup.sh
…which just executes commands below:
$npminstall# installs npm modules$npm audit fix# fixes to npm$composerinstall# installs composer modules$php artisan key:generate# generates app key in .env$touchdatabase/database.sqlite# creates sqlite database$php artisan migrate:fresh--seed# migrates and seeds database with example user
- Edit
.env
and change:
APP_NAME="Name of your app"APP_DESC="Description of your app"APP_URL=http://localhost:8000DEV_URL=http://localhost:3000# axios baseURL for development
- You can edit NuxtJS config in
nuxt.config.js
and NuxtJS project inresources/nuxt
- Run developement server:
$npm run dev
- Open website and try to sign in as
alf@melmack.mm
using passwordlucky
- To build for production:
$npm run build$php artisan serve
Top comments(0)
Subscribe
For further actions, you may consider blocking this person and/orreporting abuse