Vendure Admin UI Setup

Our company is engaged in the development, support and maintenance of sites of any complexity. From simple one-page sites to large-scale cluster systems built on micro services. Experience of developers is confirmed by certificates from vendors.
Development and maintenance of all types of websites:
Informational websites or web applications
Business card websites, landing pages, corporate websites, online catalogs, quizzes, promo websites, blogs, news resources, informational portals, forums, aggregators
E-commerce websites or web applications
Online stores, B2B portals, marketplaces, online exchanges, cashback websites, exchanges, dropshipping platforms, product parsers
Business process management web applications
CRM systems, ERP systems, corporate portals, production management systems, information parsers
Electronic service websites or web applications
Classified ads platforms, online schools, online cinemas, website builders, portals for electronic services, video hosting platforms, thematic portals

These are just some of the technical types of websites we work with, and each of them can have its own specific features and functionality, as well as be customized to meet the specific needs and goals of the client.

Showing 1 of 1 servicesAll 2065 services
Vendure Admin UI Setup
Simple
from 1 business day to 3 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    822
  • image_crm_chasseurs_493_0.webp
    CRM development for Chasseurs
    847
  • image_website-sbh_0.png
    Website development for SBH Partners
    999
  • image_website-_0.png
    Website development for Red Pear
    451

Configuring Vendure Admin UI

Vendure Admin UI is an Angular application delivered as a separate package and compiled with plugin extensions. Not webcomponents or iframe approach: extensions are embedded during build via Angular Lazy Modules, providing full access to routing, components, and translations.

Out-of-the-Box Deployment

Fastest option — AdminUiPlugin without customization:

// vendure-config.ts
import { AdminUiPlugin } from "@vendure/admin-ui-plugin";

export const config: VendureConfig = {
  plugins: [
    AdminUiPlugin.init({
      route: "admin",
      port: 3002,
    }),
  ],
};

Admin UI accessible at http://localhost:3002/admin. In production, compile UI beforehand and serve as static via Nginx.

Pre-compilation (Production)

// compile-admin-ui.ts
import { compileUiExtensions } from "@vendure/ui-devkit/compiler";
import path from "path";

compileUiExtensions({
  outputPath: path.join(__dirname, "../admin-ui"),
  extensions: [
    LoyaltyPlugin.uiExtensions,
    B2bPricingPlugin.uiExtensions,
  ],
  devMode: false,
}).compile?.();
npx ts-node compile-admin-ui.ts

Result — admin-ui/dist directory with static files. Point to it:

AdminUiPlugin.init({
  route: "admin",
  port: 3002,
  app: {
    path: path.join(__dirname, "../admin-ui/dist"),
  },
}),

Branding

AdminUiPlugin.init({
  route: "admin",
  port: 3002,
  adminUiConfig: {
    brand: "My Shop Admin",
    hideVendureBranding: true,
    hideVersion: false,
    defaultLanguage: LanguageCode.ru,
    defaultLocale: "ru",
    availableLanguages: [LanguageCode.ru, LanguageCode.en],
  },
}),

Logo and colors via Angular theme extension.

Extending Admin UI from Plugin

Each plugin can add tabs, pages, or fields to existing sections:

// loyalty.plugin.ts
@VendurePlugin({
  // ...
  configuration: (config) => config,
})
export class LoyaltyPlugin {
  static uiExtensions: AdminUiExtension = {
    id: "loyalty-ui",
    extensionPath: path.join(__dirname, "loyalty-ui"),
    routes: [{
      route: "loyalty",
      filePath: "routes.ts",
    }],
    providers: ["providers.ts"],
  };
}

Adding Custom Field to Existing Page

If plugin adds customFields to standard entity, Admin UI auto-renders them. For custom rendering:

addActionBarItem({
  id: "view-loyalty",
  label: "Loyalty Points",
  locationId: "customer-detail",
  routerLink: (data) => ["/extensions/loyalty", data.entity?.id],
  icon: "star",
});

Translations

Vendure Admin UI supports i18n via ngx-translate:

// loyalty-ui/providers.ts
{
  provide: VENDURE_UI_CONFIG,
  useValue: {
    translations: {
      ru: {
        "loyalty.title": "Loyalty Program",
        "loyalty.points": "Points",
        "loyalty.transactions": "Transaction History",
      },
    },
  },
}

Nginx for Admin UI in Production

location /admin/ {
    root /var/www/vendure/admin-ui/dist;
    try_files $uri $uri/ /admin/index.html;

    location ~* \.(js|css|woff2|png|ico)$ {
        expires 1y;
        add_header Cache-Control "public, immutable";
    }
}

Common Issues

Issue Cause Solution
UI not updating after plugin change Old compiled dist Restart compile-admin-ui.ts
Menu item not appearing uiExtensions not passed Add extension to extensions array
Angular compilation error Incompatible @vendure/ui-devkit versions Sync with @vendure/core version
Translation not applied Wrong languageCode key Check case: ru (not RU)