Daniel Castillo
Daniel Castillo

Reputation: 15

how to deployment dart app to javascript in the server?

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?

Upvotes: 0

Views: 577

Answers (1)

Valentyn Shybanov
Valentyn Shybanov

Reputation: 19391

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.

Upvotes: 1

Related Questions