Product Manager • Cash registry • Online Shop • Accounting
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
© 2019 - Moritz Petzka - petzka.com
git submodule add https://github.com/jodermo/tator-shop.git angular-app/modules/tator-shop --name tator-shop
Edit file: angular-app/import.module.ts
import { TatorShopModule } from './modules/tator-shop/tator-shop.module';
@NgModule({
imports: [
TatorShopModule,
],
exports: [
TatorShopModule,
],
})
Edit file: nest-app/import.module.ts
import { PaymentModule } from '../angular-app/modules/tator-shop/nest/payment/payment.module';
import { CurrencyModule } from '../angular-app/modules/tator-shop/nest/currency/currency.module';
import { DiscountModule } from '../angular-app/modules/tator-shop/nest/discount/discount.module';
import { ProductGroupModule } from '../angular-app/modules/tator-shop/nest/product-group/product-group.module';
import { TaxModule } from '../angular-app/modules/tator-shop/nest/tax/tax.module';
import { ProductCategoryModule } from '../angular-app/modules/tator-shop/nest/product-category/product-category.module';
import { OrderModule } from '../angular-app/modules/tator-shop/nest/order/order.module';
import { ProductModule } from '../angular-app/modules/tator-shop/nest/product/product.module';
import { ShippingModule } from '../angular-app/modules/tator-shop/nest/shipping/shipping.module';
import { ManufacturerModule } from '../angular-app/modules/tator-shop/nest/manufacturer/manufacturer.module';
@Module({
imports: [
CurrencyModule,
DiscountModule
ManufacturerModule,
OrderModule,
PaymentModule,
ProductCategoryModule,
ProductGroupModule,
ProductModule,
ShippingModule,
TaxModule,
],
exports: [
CurrencyModule,
DiscountModule
ManufacturerModule,
OrderModule,
PaymentModule,
ProductCategoryModule,
ProductGroupModule,
ProductModule,
ShippingModule,
TaxModule,
],
})