๐Customization
Views
php artisan vendor:publish --tag=comments-viewsAssets
php artisan vendor:publish --tag=comments-assetsBuild assets
// vite.config.js
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel({
hotFile: 'public/vendor/lakm/laravel-comments/comments.hot',
buildDirectory: 'vendor/lakm/laravel-comments/build', // This is important
input: ['resources/js/app.js'], // This is important
refresh: true,
}),
],
});Last updated