Assets


#Compiling CSS and JavaScript

If you are using React, Vue or another JavaScript library, or Tailwind CSS, tools that requires your frontend to be built by build tooling like Vite, you will need to run your build process before compiling the native application.

For example, if you're using Vite with NPM to build a React application that is using Tailwind, to ensure that your latest styles and JavaScript are included, always run npm run build before running php artisan native:run.

#Other files

NativePHP will include all files from the root of your Laravel application. So you can store any files that you wish to make available to your application wherever makes the most sense for you.