/laravel-snowpack-inertia-vue

Opionated Laravel Starter App for Better Compilation Times using Snowpack. Uses Laravel Jetstream for Auth, Laravel Inertia, Inertia Js , Vue 3 , TailwindCss and Tailwind Ui.

Primary LanguageVue

Laravel Starter App with Snowpack

Screen Shot 2021-05-30 at 6 07 37 PM

Compile within Seconds

Screen Shot 2021-05-30 at 6 08 58 PM

Caveats

For production you need to use webpack small price to pay Well if your not using snowpack in dev you always pay the price anyway :p

This is a working Example of Snowpack with Laravel , Inertia Js And Vue3

Requirements

  • php 8.0 +
  • vue 3
  • node v14.16.0
  • yarn

Installation

  1. Clone repo
git clone REMOTE_URL
  1. Install PHP Dependencies
composer install
  1. Install Node Packages
yarn

Development

  1. run yarn dev
  2. Edit Home.vue and test tailwind css class change with HMR

Production build

  1. run yarn build

License

The Laravel framework is open-sourced software licensed under the MIT license.