cube-php / ui
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
Requires
- cube-php/core: ^0.1.6
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 insideconfig/view.php
-
Add
VITE_PORT=5173
inenv.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