_.shapeshifter
_.shapeshifter
FFilament
Created by lodeki on 9/2/2023 in #❓┊help
Add content for the tabs blade component
can you share how did you solve it?
15 replies
FFilament
Created by Absolium on 5/16/2023 in #❓┊help
Many to Many relationship error: Array to String conversion
a rating of 100/10 😄
113 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
its now working, thanks!
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
I'm trying to check online if there is a workaround to this hahaha
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
that's what I'm thinking also, that is why I'm thinking to have similar to Filament::registerViteTheme([]) but for JS module
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
yeah, not sure what is wrong, with the import in app.js
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
nnot use import statement outside a module (
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
I can see now different error response, and I see the app.js is now part of the page.
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
Thanks for the help! 🍻
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
I think Filament need to create similar to Filament::registerViteTheme([]) but for JS module
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
in the Filament boot?
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
should I register the asset build output by Vite? I think the filename is changing every build?
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
here is my vite.config.js file.
import { defineConfig, splitVendorChunkPlugin } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
'resources/css/filament.css',
],
refresh: true,
}),
splitVendorChunkPlugin(),
],
build: {
rollupOptions: {
external: [
"../../node_modules/@types/**/*",
"../../vendor/filament/forms/dist/module.esm.css",
"../../vendor/filament/filament/resources/css/app.css",
"../../vendor/filament/forms/dist/module.esm",
"../../vendor/filament/notifications/dist/module.esm",
],
output: {
manualChunks(id) {
if (id.includes('node_modules')) {
return id.toString().split('node_modules/')[1].split('/')[0].toString();
}
}
}
}
},
});
import { defineConfig, splitVendorChunkPlugin } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.css',
'resources/js/app.js',
'resources/css/filament.css',
],
refresh: true,
}),
splitVendorChunkPlugin(),
],
build: {
rollupOptions: {
external: [
"../../node_modules/@types/**/*",
"../../vendor/filament/forms/dist/module.esm.css",
"../../vendor/filament/filament/resources/css/app.css",
"../../vendor/filament/forms/dist/module.esm",
"../../vendor/filament/notifications/dist/module.esm",
],
output: {
manualChunks(id) {
if (id.includes('node_modules')) {
return id.toString().split('node_modules/')[1].split('/')[0].toString();
}
}
}
}
},
});
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
here is the snippet inside my app.js
import confetti from "canvas-confetti";

Livewire.on('confetti', () => {
confetti({
particleCount: 80,
spread: 200,
origin: {y: 0.6}
});
})
import confetti from "canvas-confetti";

Livewire.on('confetti', () => {
confetti({
particleCount: 80,
spread: 200,
origin: {y: 0.6}
});
})
26 replies
FFilament
Created by _.shapeshifter on 5/5/2023 in #❓┊help
Laravel Resource JS
I tried but I encountered Cannot use import statement outside a module
26 replies