Registry / web-framework / nystudio107-craft-vite

nystudio107-craft-vite

JSON →
library5.0.1phppackagistunverified

Allows the use of the Vite.js next generation frontend tooling with Craft CMS

composer require nystudio107/craft-vite
INSTALL
IMPORT
SIG · NYSTUDIO107-CRAFT-
N
nystudio107-craft-vite
web-frameworkphpv5.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Vite
use nystudio107\craft\vite\Vite;

Register a Vite entry point and output script tag

use nystudio107\craft\vite\Vite; $vite = new Vite(); $vite->register('src/js/app.js'); echo $vite->scriptTag();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
5.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
Amazon
1
OpenAI (training)
1
Resources
nystudio107-craft-vite — pip install nystudio107-craft-vite · libregistry