Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

lara28580's avatar

How to copy static assets with vite

I am trying to copy static assets with vite in to my public folder. Like I do it with Mix

 .copyDirectory('vendor/tinymce/tinymce', 'public/js/tinymce');

Is this somehow possible?

0 likes
2 replies
lara28580's avatar

@swapnilnandgave Thanks for your anwer but how should that work with the vendor folder? I installed tinymce via composer and now I want to use it.

Please or to participate in this conversation.