Build Tools
Learn how to use Material’s included npm scripts to start a local server, compile source code, run tests, and more.
# | Name | Usage | Description | Read More |
---|---|---|---|---|
1 | install | yarn install or npm install | This command installs a package, and any other packages that it depends on. | Read more |
2 | dev | yarn dev or npm run dev | This will determinate the start of your development server. | Read more |
3 | build | yarn build or npm run build | This will create a build directory with a production build of your app. | Read more |
4 | preview | yarn preview or npm run preview | The 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 |