Étapes pour déployer votre projet de flottement avec une surtension
# Steps to deploy your flutter project with surge
# pre steps: everytime you deploy you have to build using
flutter build web
Step 1:
# install surge
sudo npm i -g surge
Step 2:
# To deploy flutter web using surge
Method-1
surge
# Method-2 - In case you don't have access to deploy on default domain
# you can choose your own domain
surge --domain your-own-domain.surge.sh
Step 3:
# when prompt is asked for project:
<path to project>/project-name -- In here you add /build/web so it should look like:
<path to project>/project-name/build/web
codeninja