Skip to content

The template uses laravel 9, jetstream, inertiajs, vue 3, tailwindcss 3 and modules architecture, vite

Notifications You must be signed in to change notification settings

HamasakiBrain/laravel-vue-tailwind-modules-starterkit

Repository files navigation

Laravel Logo

Tailwind CSS

Vue logo Vite logo

laravel-vue-tailwind-modules-starterkit

This starter kit with Vue, Tailwindcss, Laravel modular architecture

Create modules

Creating modules with composer package nWidart/laravel-modules with custom stubs

See module documentation here

Run Locally

  1. Clone the project
git clone https://github.com/HamasakiBrain/laravel-vue-tailwind-modules-starterkit.git
  1. Go to the project directory
cd laravel-vue-tailwind-modules-starterkit
  1. Install all dependencies
npm run init
  1. Copy .env.example to .env
cp .env.example .env
  1. Configure db connection in .env
  2. Migrate migrations
php artisan migrate
  1. Start the server
npm run dev
  1. Build the server
npm run build

Run Production

  1. Build your modules

Example

cd /Modules/{Blog}/ && npm run build

where {Blog} - your module name

Then, go to root folder your project and run build app

cd /project/ && npm run build

And change local to production in .env const APP_ENV

Example

APP_ENV=production

License

MIT