Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Universal Kotlin

Application -> Browser -> JavaScript -> Vanilla

Module with a Vanilla JavaScript application.

It uses the common modules as dependencies.

Setting Up

export enabledModules="application-browser-js-vanilla"

Building

./gradlew :application-browser-js-vanilla:build

or in a simplified way (can run more tasks):

./gradlew build

Testing

./gradlew :application-browser-js-vanilla:check

or in a simplified way (can run more tasks):

./gradlew check

Running

Start Webpack development server:

./gradlew :application-browser-js-vanilla:run

or in a simplified way (can run more tasks):

./gradlew run

Checking the application:

Go to the url provided after running the run command. The default one is:

The output should be similar to this one:

[com.company.team.project.common.multiple_sources.js, com.company.team.project.common.single_source.js.common, com.company.team.project.application.browser.js.vanilla]

Stop Webpack development server:

./gradlew :application-browser-js-vanilla:stop

or in a simplified way (can run more tasks):

./gradlew stop