To export your project, use the new "export" command:
serve export project output
Where "project" is the path to the project and "output" is the path to the directory where you would like your HTML and CSS generated.
Please note! This feature is quite new. If you have problems exporting, please post about them on the GitHub issue tracker.