/lara-setups

lara setups is a new star kit for installing latest and greetest version of vue js and bootstrap

Primary LanguagePHP

Lara setups

Total Downloads

Introduction

lara setups helps you to install latest bootstrap and vue.js version on your laravel project

laravel team no longer supports laravel ui package so lara setups is a very good replacemanet for laravel ui and it help you to install any version of vue js and it has no limitted for you

Installation

// locally
composer require mohammadkhazaee/larasetups --dev

// root
composer require mohammadkhazaee/larasetups 

bootstrap & vue scaffolding

Once the larasetups package has been installed, you may install the frontend scaffolding using the install: Artisan command:

// bootstrap 5 & vue 3
php artisan install:bv3

// bootstrap 5 & vue 2
php artisan install:bv2

// bootstrap 5 
php artisan install:bootstrap5

// vuejs 3 & 2
php artisan install:vue3
php artisan install:vue2

once it done run

npm install

npm run dev

use default vue component

for vue 2
<div id="app">
    <example-component></example-component>
</div>
for vue 3
<div id"example"><div>