Skip to content

SPA boilerplate for multilangual websites with Vue/Vite frontent and Laravel/Filament backend.

Notifications You must be signed in to change notification settings

volkar/laravel-filament-spa-i18n-vite-vue

Repository files navigation

SPA with i18n @ Laravel, Filament, Vue, Vite, Pinia.

Laravel backend:

Vue frontend:

  • TypeScript
  • Vue 3
  • Vite for assets build
  • Pinia for data store
  • ky for fetching data
  • Simple SPA with basic routes as example
  • Cache/expiration system for api requests

SPA screenshots

About page: SPA preview Italian locale: SPA preview Category page: SPA preview In case you don't like cookies: SPA preview

Filament screenshots

List: Filament preview Form: Filament preview Same about cookies: Filament preview Global settings page: Filament preview

Prerequisites

Required requisites:

  1. Git
  2. Node
  3. Any kind of serving app (valet, wamp, xamp, sail, artisan serve)

Installation

  1. Clone the project:
git clone https://github.com/volkar/laravel-filament-spa-i18n-vite-vue.git
  1. Go to the project's folder
cd laravel-filament-spa-i18n-vite-vue
  1. Update and install composer packages
composer update
  1. Copy .env.example to .env
cp .env.example .env
  1. Generate keys
php artisan key:generate
  1. Edit your .env file to setup database connection and site address APP_URL
  2. Create database schema & seed it
php artisan migrate:refresh --seed
  1. Install all node.js dependencies
npm install
  1. Run Vite dev server
npm run dev
  1. Serve your Laravel app (valet in example, wamp, xamp, sail or whatever)
valet link mysite
  1. Open served address in your browser.
http://mysite.test

Filament's admin account created by seeding:

Contact me

You always welcome to write me

About

SPA boilerplate for multilangual websites with Vue/Vite frontent and Laravel/Filament backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published