DEV Community

Emmanuel Tochukwu
Emmanuel Tochukwu

Posted on

purpose of running npm install and npm run dev in a laravel application.

In a laravel project you write the npm install cmd to install the dev dependencies specified in the package.json file so as to make available packages i.e alpine.js and livewire for the frontend development the npm run dev cmd is used to compile css and js assets for development.

Top comments (0)