Where i can import this code
const mykad = require('mykad')
from this package in to my laravel 7 project. and how to code in blade in input form.
You can include JS file from node_modules to your app by requiring them at your resource level app.js
path = app\\resources\\js\\app.js
like this:
const mykad = require('mykad')
and then run in terminal
npm run dev
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.