The easiest way to deploy your project
- Netlify is an all-in-one platform for automating modern web projects.
- Replace your hosting infrastructure, continuous integration, and deployment pipeline with a single workflow.
- Login with
Github
is recommended
npm run build
$ tree .
.
├── css
│ └── app.3e19b3eb.css
├── favicon.ico
├── index.html
└── js
├── app.c5d098e4.js
├── app.c5d098e4.js.map
├── chunk-vendors.cb36bd4d.js
└── chunk-vendors.cb36bd4d.js.map
2 directories, 7 files
- Drop your
dist/
to the dotted box
but it's not exactly over yet
- Your website has been deployed
- But, you cannot auto publish your project in this way
- You'll have to drag & drop your project every single time your project changed
npm run build
dist
- Deploys from master branch are published automatically since auto publishing is on
Control the environment your site builds in and/or gets deployed to.