Metronic Documentation | Keenthemes
logo
The World’s #1 Bootstrap 5 HTML, VueJS, React, Angular & Laravel
Admin Dashboard Ecosystem

This is Metronic 7 documentation!

Upon purchase you can get Metronic 7 version from our Github Repository.
Request Github access
The new Metronic 8 is now available with the most advanced Bootstrap 5, VueJS, React and Laravel foundation with a solid light and dark mode design system, extensive utility classes and custom made in-house components.
View Metronic 8 documentation

To use most of the Metronic build tools, Node.js LTS version is required. Version 14.x LTS is recommended. Some of the plugins and framework in Metronic v7 does not support the latest Node.js version. https://nodejs.org/en/

Adding TypeScript

Note: this feature is available with Metronic 7.1.1 and higher.

Installation:

  1. To add TypeScript to a Metronic React App project, first install it:

                        npm install --save typescript @types/node @types/react @types/react-dom @types/jest
    # or
    yarn add typescript @types/node @types/react @types/react-dom @types/jest
                    
  2. Next, rename any file to be a TypeScript file (e.g. src/index.js to src/index.tsx) and restart your development server!

  3. Type errors will show up in the same console as the build one. You'll have to fix these type errors before you continue development or build your project. For advanced configuration, see here.

For more detailed information, visit the official Create React App documentation website.

Think About The Future, Stay Connected With Us
The More We Learn, The More We Are Able To Innovate & To Develop