Skip to content

Releases: Shuashuaa/create-v-kit-spa

v1.0.0-alpha

05 Oct 08:22
ea454e9
Compare
Choose a tag to compare

create-v-kit-spa

npm create v-kit-spa@latest

Completed the initial boilerplates

Lists below

Boilerplates Prerequisites
Vue 2 - Laravel 8 php7.4v
Vue 3 - Laravel 8 php7.4v
Vue 3 - Laravel 9 php8.0v
Vue 3 - Laravel 10 php8.1v
Vue 3 - Laravel 11 php8.2v - php8.3v

Docs

Read full docs here.

How to contribute

Have an idea? Found a bug? See how to contribute.

Contributors

Thanks to:

  • RGie for Vue 3 - Laravel 8 boilerplate 👏👏👏

License

MIT License © 2024-PRESENT Shuashuaa

v0.9.1-alpha

29 Sep 01:55
b22d9be
Compare
Choose a tag to compare

create-v-kit-spa

A simple way to start your vue-laravel-spa projects.

VERSION NPM DOWNLOADS MINIFIED SIZE


Create your project

npm create v-kit-spa@latest

Prerequisite

  • Apache/Nginx
  • Mysql
  • Php
  • Node

Reference Table

Mono Repo

frontend and backend are united via configuration made it an sfa, easier to deploy but migrating or upgrading either frontend or backend is tricky-hard.

Version & Type Structure Features Prerequisite
vue 2 - laravel 8 Monorepo runs in webpack w/ the following: pinia/vuex, vuetify 2, vue-router php v7.4 && node ^18x
vue 3 - laravel 8 Monorepo runs in vite w/ the following: pinia, vuetify 3, vue-router, developer friendly php v7.4 && node ^18x
vue 3 - laravel 9 Monorepo runs in vite w/ the following: pinia, vuetify 3, vue-router, developer friendly php v8.0 && node ^18x
/
└── Project folder/
    ├── *The rest of the files*
    └── README.md

Decoupled Repo

frontend and backend are separated, much easier to update/upgrade either if needed.

Version & Type Structure Features Prerequisite
vue 3 - laravel 8 Decoupled runs in vite w/ the following: pinia, vuetify 3, vue-router, developer friendly php v7.4 && node ^18x
/
├── FrontEnd/
│   └── Vuejs files
└── Backend/
    └── Laravel files

Installation

Vue 2 - Laravel 8

bundled and runs in webpack 🕸️

Commands Action
npm install Installs node dependencies
composer install Installs composer dependencies
copy .env.example .env Generates a .env file from an example
php artisan key:generate Generates a key for .env file
npm run artisan-watch Run both php artisan serve and yarn watch
http://127.0.0.1:8000/ Visit your app, Enjoy! 🎉🎉

Vue 3 - Laravel 9

bundled and runs in vite

Commands Action
npm install Installs node dependencies
composer install Installs composer dependencies
copy .env.example .env Generates a .env file from an example
php artisan key:generate Generates a key for .env file
npm run artisan-dev Run both php artisan serve and yarn dev
http://127.0.0.1:8000/ Visit your app, Enjoy! 🎉🎉

Docs

Read full docs here.

How to contribute

Have an idea? Found a bug? See how to contribute.

Changelog

Full Changelog: https://github.com/Shuashuaa/v-kit-spa/commits/v1.0.0

License

MIT License © 2024-PRESENT Shuashuaa