Build tools

Learn how to use Material Dashboard’s included npm scripts to start a local server, compile source scss code, run tests, and more.


Available commands

# Name Usage Description Read More
1 install npm install This command installs a package, and any packages that it depends on. Read more
2 start npm start This will determinate the start of your production server. Read more
3 build npm run build This will create a build directory with a production build of your app. Read more
4 dev npm run dev This will determinate the start of your development server. Read more
5 install:clean npm run install:clean This command will remove the node_modules folder and package_lock.json file, will install a fresh copy of them and it will start the development server. (NOTE: this command only works on linux based terminals)  
6 compile-sass PRO npm run compile-sass This command will compile the scss files located inside assets/scss/* into assets/css/*.css. Read more and Command Line
7 minify-sass PRO npm run minify-sass This command will compile and minify the scss files located inside assets/scss/* into assets/css/*.min.css. Read more and Command Line
8 map-sass PRO npm run map-sass This command will compile and map the scss files located inside assets/scss/* into sassets/css/*.css.map. Read more and Command Line