projectModel.json can be generated only by Studio.
Now this option is available only in IntelliJ Ultimate. In the next Studio update (1.1.2) we are going to make it available also in IJ Community.
Please keep in mind that the frontend framework has two very different implementations:
- Version 0.9 works with Jmix backend through generic REST API. This version is intended for use in projects migrated from CUBA if they have a frontend module. We’ll publish the documentation on the migration process as soon as we fix some issues in the next Studio update (1.1.2).
- Version 1.0 is experimental and works with Jmix backend through the GraphQL API. It’s not supported yet and most probably will be stripped down to SDK-only, so use at your own risk.