Metronic

The Ultimate Bootstrap & Angular 6 Admin Theme Framework For Next Generation Applications

Files Structure

Overview

Metronic comes with a flexible file structure that can be easily used for small to large scope projects. This section will explain Metronic's entire file structure and how to adapt it to your project.

[root] is refers to the package type version.

  • default is the default version based on HTML, jQuery and Bootstrap
  • angular is the Angular version built with Angular-CLI
Path Description
distTheme versions folder
docsThe theme documentation
..Demo contents
srcSrc(stands for source) contains the raw source code of javasc,ript, scss, images and web font files that will be minified/concatenated onto assets folder for production usage
jsJavascript source files
mediaMedia(image, video, font files, etc) files
sassSass source files
vendors3rd party libraries
toolsDevelopment and deployment tools
gulpThe build tools gulp tasks for bundle and minify the js and css files and complile sass fi,les.
node_modulesNPM package installation folder
themes/metronic/[version_package].conf.jsonMetronic build config file. Depends on which version package, either default or angular. Here you can configure the build accord,ing to your requirements
gulpfile.jsonGulp tasks main script. All the build tool tasks are grouped in this script
package.jsonNPM package manager config file
..Another version package

Javascript

Below table explains Metronic javascript file structure. Is it located based on which version package, either defult or angular. The table below start with the path: [root]/src/
Path Description
srcSrc(stands for source) contains the raw source code of javasc,ript, scss, images and web font files that will be minified/concatenated onto assets folder for production usage
jsJavascript files
appApplication level(global) javascript files
baseApplication level base javascript files are minified and concatenated into the base bundle, assets/demo/[demo_id]/base/scripts.bundle.js to be included globally. demo_id is the selected demo name.
customApplication level custom javascript files are minified and moved to assets/app/js/ to be included on demand.
demoDemo level javascript files
defaultDefault demo javascript files
baseDemo level base javascript files are minified and concatenated into the base bundle a,ssets/demo/[demo_id]/base/scripts.bundle.js to be included globally. demo_id is the selected demo name.
customDemo level custom javascript files are minified and moved toassets/demo/[demo_id]/custom/* to be included on demand. demo_id is the selected demo name.
...Other demos
frameworkFramework components javascript files are minified and concatenated into the base bundle assets/demo/[demo_id]/base/scripts.bundle.js to be included globally. demo_id is the selected demo name.
snippetsSnippets are custom templates created for certain requirements by customizing and extending th,e theme's base components and plugins
baseBase snippets javascript files are minified and concatenated into the base bundle assets/demo/[demo_id]/base/scripts.bundle.js to be included globally. demo_id is the selected demo name.
customApplication level custom javascript files are minified and moved toassets/snippets/* to be included on demand.

SASS

Below table explains Metronic SASS file structure. Is it located based on which version package, either defult or angular. The table below start with the path: [root]/src/
Path Description
srcSrc(stands for source) contains the raw source code of ,javascript, scss, images and web font files that will be minified/concatenated onto assets folder for production usage
sassJavascript files
demoDemo level sass files
defaultDefault demo sass files
style.cssstyle.scss is compiled, minified and concatenated into the base bundle styles,heet assets/demo/[demo_id]/base/style.bundle.css to be included globally. demo_id is the selected demo name.
..Other demos
frameworkFramework scss files are compiled, minified and concatenated into the base bundle assets/demo/[demo_id]/base/style.bundle.css to be included globally. demo_id is the selected demo name.
snippetsSnippets sass files are compiled, minified and concatenated into the base bundle assets/demo/[demo_id]/base/style.bundle.css to be included globally. demo_id is the selected demo name.
customApplication level custom javascript files are minified and moved to assets/snippets/* to be included on demand.
I run a team of 20 product managers, developers, QA and UX resources. Previously we designed everything ourselves. For our newest platform we tried out Metronic. I cannot overestimate the impact Metronic has had. It's accelerated development 3x and reduced QA issues by 50%. If you add up the reduced need for design time/resources, the increase in dev speed and the reduction in QA, it's probably saved us $100,000 on this project alone, and I plan to use it for all platforms moving forward.
The flexibility of the design has also allowed us to put out a better looking & working platform and reduced my headaches by 90%. Thank you KeenThemes! Jonathan Bartlett, Metronic Customer

Powerful Framework

Everything within Metronic is customizable globally to provide limitless unique styled projects

Multi Demo

Choose a perfect design for your next project among hundreds of demos

Limitless Components

A huge collection of components to power your application with the latest UI/UX trands

Angular 6 Support

Enterprise ready Angular 6 integration with built-in authentication module and many more

Bootstrap 4

Metronic deeply customizes Bootstrap with native look and feel

Exclusive Datatable Plugin

Our super sleek and intuitive Datatable comes packed with all advanced CRUD features

60,000+ Strong

Metronic is the only theme trusted by over 60,000 developers world wide

Continuous Updates

Lifetime updates with new demos and features is guaranteed

Quality Code

Metronic is writer with a code structure that all developers will be able to pick up easily and fall in love

The Ultimate Bootstrap Admin Theme Trusted By Over 60,000 Developers World Wide