how to deployment dart app to javascript in the server?

578 views Asked by At

to do with the files in the build/web folder in my dart app to deployed a in the server as Javascript?

I want to deployd my app but as javascript. But i don't know the correct procedure.

I have configured my project and I called in my localhost

build pub

has generated the folder

build / web

What is the next step to run my dart app as Javascript on the server?

or I should be call build pub on the server?

1

There are 1 answers

2
Valentyn Shybanov On BEST ANSWER

You should grab all files inside this build / web folder and put them into static-served folder of your server (for Apache it is often htdocs folder).

Than you should be able to open html file of your app and get app working.