Skip to content

ripla/vaadin-scala.g8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A simple Scala & Vaadin project template

Installation

First you need install g8. See their page for instructions. Then just drop in to a shell:

g8 ripla/vaadin-scala
<answer questions, enter for defaults>
cd <project dir>
sbt
container:start

And browse to http://localhost:8080. You can also type eclipse in the SBT-prompt to create Eclipse project files and import the project to Eclipse as an existing project.

What's included

This template creates an SBT project that includes Scala, Vaadin and Scaladin. It also includes the SBT-plugins xsbt-web-plugin for Jetty and sbteclipse for creating Eclipse projects

Using Vaadin add-ons

The build.sbt created by the template contains the necessary (GWT sbt plugin) code to compile the addons.

  1. Add a dependency to the add-on to the librarydepencies-section in the build.sbt file
  2. Add the GWT module of the add-on to the gwt.xml file in the src directory.
  3. Uncomment the GWT-plugin lines in the build.sbt
  4. Type gwt-compile in the sbt prompt to compile the widgetset

About

Giter8 template for Vaadin&Scala projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published