aesteve / nubes

Annotation layer on top of Vert.x 3
Apache License 2.0
120 stars 35 forks source link

Start VertxNubes #65

Closed FunnyDevs closed 7 years ago

FunnyDevs commented 7 years ago

Hi! How can i start a VertxNubes??? With Vertx i create a main class and deploy a Verticle.

aesteve commented 7 years ago

Nubes just gives you a Router instance, based on the classes it will scan in your classpath.

Just create a VertxNubes instance, bootstrap it and you'll get your Router back (asynchronously). Use this router just the same way you're using it in a Vert.x-Web context.

https://github.com/aesteve/nubes#how-it-works

Here is a concrete example of usage of Nubes within a Verticle

FunnyDevs commented 7 years ago

ok, now it works!

Thanks