Build Tools

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


#NameUsageDescriptionRead More
1installyarn install or npm installThis command installs a package, and any other packages that it depends on.Read more
2devyarn dev or npm run devThis will determinate the start of your development server.Read more
3buildyarn build or npm run buildThis will create a build directory with a production build of your app.Read more
4previewyarn preview or npm run previewThe vite preview command will boot up local static web server that serves the files from dist at http://localhost:4173. It's an easy way to check if the production build looks OK in your local environment.Read more
Contents