- Not SPA - multilple HTML templates
- Context path support
- A Gradle build script for both server-side and client-side project with gradle-node-plugin
- Based on a Spring Initializr template
- Thymeleaf templates for server-side variable injection
- Locally-runnable HTMLs (after building the front project)
./gradlew prepare buildFront
to build the front project
- Eclipse (and STS) support:
./gradlew prepare
- Based on the Vue webpack template
- Little improved dev server support:
npm run dev
- Server-side templates are generated from a EJS template and JS variables by HtmlWebpackPlugin
- (Only 'typescript' branch) TypeScript and vue-class-component
- Code Splitting (chunks)
- Bootstrap 3 (theme: Honoka)
- Java 8 or later
- npm
- Yarn
- Enter following commands
git clone [email protected]:kuinaein/spring-webpack.git
cd spring-webpack
./gradlew flashRun
- Wait for build and app initialization
- Open http://localhost:8080/actual-ctx/foo/create
CC0 1.0 Universal (except vue-webpack-boilerplate originated code)