![]() ![]() For example, using the CLI within the apps/myOtherApp/src directory will select the myOtherApp project. If the CLI detects it is being run within a project path, configured with the root key, it will select the matched project.For example, -project=myApp will select the myApp project. If the global CLI option -project is specified, the project is looked up by key in the projects object.Project selection criteria is as follows: When a multi-app project is detected, the Ionic CLI will operate under the context of an app configured in the root. The following example shows the environment variables that are set for the ionic:capacitor:build hook. When using a shell script for any of the hooks, hook context is defined in environment variables prefixed with IONIC_CLI_HOOK_CTX_. ionic:capacitor:sync:after: executed during ionic capacitor sync after a sync.ionic:capacitor:build:before: executed during ionic capacitor build before capacitor open is executed.ionic:capacitor:run:before: executed during ionic capacitor run before capacitor open is executed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |