diff --git a/README.md b/README.md index 2ddec942b..4e88b252e 100644 --- a/README.md +++ b/README.md @@ -51,28 +51,17 @@ Third, you add `teavm-maven-plugin` in your build configuration: process-classes - true + true org.teavm.samples.HelloWorld + true -Now you can execute `mvn clean package` and get the generated JavaScript file `target/javascript/classes.js`. -It contains the `main` global function, which you may call. In the general case you should provide -an HTML page, which includes both of -[runtime.js](https://github.com/konsoletyper/teavm/blob/master/teavm-core/src/main/resources/org/teavm/javascript/runtime.js) -and `classes.js` files and calls `main` function in some condition. Here is an example: - - - - -