Development environment for the @jqhtml/vite-plugin
Once the Vite plugin and jqhtml runtime are configured, components will render here:
<Counter_Widget $initial_count=5 />
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import jqhtml from '@jqhtml/vite-plugin';
export default defineConfig({
plugins: [
laravel({
input: ['resources/css/app.css', 'resources/js/app.js'],
refresh: true,
}),
jqhtml(),
],
});