vendure-config.ts 427 B

1234567891011121314151617181920
  1. import { MyPlugin } from '@esm-plugins/my-plugin';
  2. import { VendureConfig } from '@vendure/core';
  3. const somePath = import.meta.url;
  4. export const config: VendureConfig = {
  5. apiOptions: {
  6. port: 3000,
  7. },
  8. authOptions: {
  9. tokenMethod: 'bearer',
  10. },
  11. dbConnectionOptions: {
  12. type: 'postgres',
  13. },
  14. paymentOptions: {
  15. paymentMethodHandlers: [],
  16. },
  17. plugins: [MyPlugin],
  18. };