open-index/open-npm huggingface dataset:
npm package: @itprosteer/vendure-np-shipping
Description: Vendure shipping plugin for nova poshta
Author: itprosteer
Latest version: 0.3.0

# Vendure Nova Poshta Shipping

##  Install
### 1. Install and configure Vendure
[Here](https://www.vendure.io/docs/getting-started/) you can find out how to install

### 2. Install the core package
```bash
npm install @vendure-advanced-shipping/core 
```

### 2.1 Install the nova poshta shipping plugin.
```bash
npm install @itprosteer/vendure-np-shipping
```

### 3. Add all plugins in Vendure configuration
```typescript
import { AdvancedShippingCorePlugin } from '@vendure-advanced-shipping/core';
import { NpShippingPlugin } from 'vendure-np-shipping';

const config: VendureConfig = {
  ...
  plugins: [
    AdvancedShippingCorePlugin,
    NpShippingPlugin.init({
         apiKey: nova_poshta_api_key
    })
  ]
}
```
### 4. Extend the UI plugin (optional)
You need to extend the UI adding the `uiExtensions` in the `compileUiExtensions` of the `AdminUiPlugin`.  You can read more about [how to config here](https://www.vendure.io/docs/plugins/extending-the-admin-ui/)
```typescript
import { AdvancedShippingCorePlugin } from '@vendure-advanced-shipping/core';
const config: VendureConfig = {
  ...
  plugins: [
    ...
    AdminUiPlugin.init({
      ...
      app: compileUiExtensions({
        ...
        extensions: [AdvancedShippingCorePlugin.uiExtensions],
      })
    })
  ]
}

```