public interface SPA
| Modifier and Type | Method and Description |
|---|---|
static io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> |
serve(java.lang.String workingDir,
int port)
Runs the SPA build tool in development mode, e.g.: npm start
|
static io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> |
serve(java.lang.String workingDir,
int port,
java.lang.String... commandLine)
Runs the SPA build tool in development mode, given a custom command line e.g.: yarn start
|
static void |
stop()
Stops the build dev server if any.
|
static io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> serve(java.lang.String workingDir,
int port)
workingDir - the location of the client SPA applicationport - the port where the build tool will listenstatic io.vertx.core.Handler<io.vertx.ext.web.RoutingContext> serve(java.lang.String workingDir,
int port,
java.lang.String... commandLine)
workingDir - the location of the client SPA applicationport - the port where the build tool will listenstatic void stop()
Copyright © 2019. All Rights Reserved.