next js material ui typescript material ui with typescript

The solution for “next js material ui typescript material ui with typescript” can be found here. The following code will assist you in solving the problem.

npx create-next-app app-name –typescript

// install material ui
npm install @mui/material @emotion/react @emotion/styled

// edit tsconfig.json
{
“compilerOptions”: {
“lib”: [“es6”, “dom”],
“noImplicitAny”: true,
“noImplicitThis”: true,
“strictNullChecks”: true
}
}// tsconfig.json
{
“compilerOptions”: {
“lib”: [“es6”, “dom”],
“noImplicitAny”: true,
“noImplicitThis”: true,
“strictNullChecks”: true
}
}

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in