Migrate application code

The HTMLSample is taken as an example to illustrate how to migrate the application code.

The migration of application code has two steps:

  1. Solve the compilation error
  2. Modify the definition for the presentation layer application