cube-php / ui
php cube ui vite, vue & tailwindcss setup
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/cube-php/ui
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