Skip to content

kwas0ng/laravel-crud

Repository files navigation

CRUD APP

A simple crud application made with Laravel, VueJS, TailwindCSS, and Vite.

Run Locally

Clone the project

  git clone https://github.com/Pewgatsu/laravel-crud.git

Go to the project directory

  cd laravel-crud

Copy the .env file

cp .env.example .env

Configure the databse connection.

Install dependencies

  npm install
  or
  yarn install

Start the server

  npm run dev
  php artisan serve

Edit vite.config.js and add this

import vue from '@vitejs/plugin-vue';
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue';

export default defineConfig({
    plugins: [
        vue(),
        laravel({
            input: ['resources/css/app.css', 'resources/js/app.js'],
            refresh: true,
        }),
    ],
});

Populating the database

  php artisan migrate:fresh --seed

About

Simple CRUD using Laravel, VueJS, TailwindCSS and mysql

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published