Mikegk
7 months ago
409
1
Laravel

Separated npm module

Posted 7 months ago by Mikegk

Hi guys,

short question: When Im using an "npm install PACKAGE" command, the package will be installed within the node modules directory. How can I access it afterwards? I don't want Laravel to mix it up because I will just need to use it on one subpage. Is there a clean workflow for that? Can I automatically create multiple .mix files - separated from the app.js file? How would you do it?

Thank you so much and please stay healthy 😊✌🏻

Please sign in or create an account to participate in this conversation.