Answer the question
In order to leave comments, you need to log in
How to properly install modules via npm install in laravel?
Help me to understand. I need a plugin for jquery - maskedinput .
I do through the terminal: npm install jquery.maskedinput --save
Installation is successful. Everything is in node_modules.
Next, I edit the bootstrap.js file - add
window.jquery.maskedinput = require('jquery.maskedinput');
$(...).mask is not a function
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question