Horje
surge flutter web Code Example
surge flutter web
# 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




Shell

Related
terraform version command Code Example terraform version command Code Example
torshammer github Code Example torshammer github Code Example
install h5py in jetson nano Code Example install h5py in jetson nano Code Example
Steps to deploy your flutter project with surge Code Example Steps to deploy your flutter project with surge Code Example
install cocoapi Code Example install cocoapi Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9