You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NativeScript plugins can be used in Nx workspaces in one of the two following methods:
278
+
279
+
### Installing NativeScript plugins at app-level
280
+
281
+
If the plugin is needed by one app only, and not others, you can install it for the specific app:
282
+
283
+
```sh
284
+
cd apps/<app-name>
285
+
ns plugin add <plugin-name>
286
+
```
287
+
288
+
### Installing NativeScript plugins at workspace-level
289
+
290
+
Alternatively, you can install the plugins at the workspace (root), so it is accesible to all your workspace apps:
291
+
```sh
292
+
npm install --save <plugin-name>
293
+
```
294
+
295
+
### Known issues
296
+
If a plugin contains platforms folder with native includes, the plugin must be added to app package.json at moment. https://github.com/NativeScript/nx/issues/17#issuecomment-841680719
0 commit comments