Hi,
I imported the laravel-vue-pagination library in vuejs3 on my laravel project but it shows me this problem in vscode (somehow the library was not imported):
Could not find a declaration file for module 'laravel-vue-pagination'. 'c:/laragon/www/sitez/node_modules/laravel-vue-pagination/dist/laravel-vue-pagination.umd.js' implicitly has an 'any' type. Try ``npm i --save-dev @types/laravel-vue-pagination`` if it exists or add a new declaration (.d.ts) file containing ``declare module 'laravel-vue-pagination';``Vetur(7016)
this is my code :
``
when i type the command i get this error :
`
PS C:\laragon\www\sitez> npm i --save-dev @types/laravel-vue-pagination
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2flaravel-vue-pagination - Not found
npm ERR! 404
npm ERR! 404 '@types/laravel-vue-pagination@*' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\SERVEUR\AppData\Local\npm-cache_logs\2022-02-26T09_50_28_138Z-debug.log`
does anyone know the solution?
thank you in advance
Hi, I imported the laravel-vue-pagination library in vuejs3 on my laravel project but it shows me this problem in vscode (somehow the library was not imported):
Could not find a declaration file for module 'laravel-vue-pagination'. 'c:/laragon/www/sitez/node_modules/laravel-vue-pagination/dist/laravel-vue-pagination.umd.js' implicitly has an 'any' type. Try ``npm i --save-dev @types/laravel-vue-pagination`` if it exists or add a new declaration (.d.ts) file containing ``declare module 'laravel-vue-pagination';``Vetur(7016)
this is my code : ``
when i type the command i get this error : ` PS C:\laragon\www\sitez> npm i --save-dev @types/laravel-vue-pagination npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2flaravel-vue-pagination - Not found npm ERR! 404 npm ERR! 404 '@types/laravel-vue-pagination@*' is not in this registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\SERVEUR\AppData\Local\npm-cache_logs\2022-02-26T09_50_28_138Z-debug.log`
does anyone know the solution? thank you in advance