frontend
frontend copied to clipboard
Correct "npm run update-model" behavior if integration is disabled in Studio
- Disable integration in Studio
- execute
npm run update-model
AR: Incorrect error message(with --projectModel parameter). See #227. And it is said to enable integration or provide the model
But we know that npm run update-model
works only with integrartion.
@web-devel at this moment we are using the same generator script for this
"update-model": "gen-cuba-front sdk:all --dest src/cuba"
I think we need different command for it to have ability provide more correct message.
The message differs a bit when specifying the model path with -m and --model params:
With -m
With --model