Created
June 27, 2022 14:59
-
-
Save KillianPiccerelle/afa31435c3610b6253f245ef97bc4a97 to your computer and use it in GitHub Desktop.
here I just copy and paste the modal to see if it works. But the onClick function is not recognized I don't understand. Should I do an import linked to flowbite ? a js file or something like that ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @type {import('tailwindcss').Config} */ | |
module.exports = { | |
content: [ | |
'./pages/**/*.{js,ts,jsx,tsx}', | |
'./components/**/*.{js,ts,jsx,tsx}', | |
'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}', | |
], | |
[........] | |
plugins: [ | |
require('flowbite/plugin') | |
], | |
}; | |
When I move my mouse over flowbite/plugin I get this: "The declaration file of the module 'flowbite/plugin' cannot be found. /home/elrond-dev/WORKSPACE/pandawans-nft-minter-nextjs-dapp/node_modules/flowbite/plugin.js' has implicitly a type 'any'. | |
Try 'npm i --save-dev @types/flowbite' if it exists, or add a new declaration file (.d.ts) containing 'declare module 'flowbite/plugin';'ts(7016)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment