There is no license information available for the latest version (0.0.2) of this package.

php cube ui vite, vue & tailwindcss setup

0.0.2 2023-07-03 07:46 UTC

This package is auto-updated.

Last update: 2024-05-03 09:27:54 UTC


README

This package, though usable, is still in testing phase.

  • Install package:
composer require cube-php/ui
  • After installing package, you will need to setup
php cube ui:setup
  • Add vite function in functions array inside config/view.php

  • Add VITE_PORT=5173 in env.dev file to set vite port

  • Run the command below for dev and production build

// dev build
npx vite

//production build
npx vite build

To use production build, set env to production