himanshusharma89 / 100DaysOfFlutter

A node.js application to deploy your Flutter Web App to Azure App Service.
https://100daysofflutter.azurewebsites.net/
0 stars 1 forks source link

doubt #3

Open CadisRaziel opened 2 years ago

CadisRaziel commented 2 years ago

inside the 'public-flutter' folder do we put all flutter projects? or just the web/html parts?

I didn't understand very well, sorry...

but I really want to learn

himanshusharma89 commented 2 years ago

@CadisRaziel Sorry for the late response, you migrate your flutter web build into this public-flutter. The flutter web build creates the web files and will be visible in the build directory inside your flutter repo.

CadisRaziel commented 2 years ago

everything is fine... I'm still in doubt, sorry

look at the image, do I just put the web folder inside the 'public-flutter' or do I put all the folders inside the 'public-flutter' ?

image

CadisRaziel commented 2 years ago

Do you have an example image for me to see please?

CadisRaziel commented 2 years ago

so that I can see the contents of 'public-flutter' and the root of folders

CadisRaziel commented 2 years ago

I really want to learn how to do this deploy

himanshusharma89 commented 2 years ago

You have to create a web build of your project and copy the contents from the build directory to the backend.

https://docs.flutter.dev/get-started/web#build

CadisRaziel commented 2 years ago

I will try to apply, thanks