DEV Community

loading...

Laravel root directory updated, npm run dev creating app.css and app.js in wrong directory

Ashwani Garg
・1 min read

I'm working on a project, where I have to move Laravel's root directory into an src folder. and the content of the public folder is moved into the root directory.

My New folder structure is like this.

project_name
   |css directory
   |js directory
   |index.php
   |src ->
        |app
        |bootstrap
        |config
        |database
        |node_modules

Discussion (0)