How to use the routeshub.createFeature function in routeshub

To help you get started, we’ve selected a few routeshub examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github maktarsis / concept-store-platform / src / app / views / location / hub / location.slice.ts View on Github external
import { createFeature, Slice } from 'routeshub';

import { appSlice } from '~app/routing/hub/app.slice';
import { locationNotes, LocationNotes as R } from './location.notes';

export const locationSlice: Slice = createFeature(
  appSlice.location,
  locationNotes
);
github maktarsis / routeshub / integration / app / routing / slices / bolid.slice.ts View on Github external
import { createFeature, Slice } from 'routeshub';

import { bolidRoutes, BolidRoutes } from '../notes';
import { appSlice } from './app.slice';

/**
 * Creates feature routes
 * through parent in the root
 */
export const bolidSlice: Slice = createFeature(
  appSlice.bolid,
  bolidRoutes
);
github maktarsis / concept-store-platform / src / app / views / user-center / hub / user-center.slice.ts View on Github external
import { createFeature, Slice } from 'routeshub';

import { appSlice } from '~app/routing/hub/app.slice';
import { userCenterNotes, UserCenterNotes as R } from './user-center.notes';

export const userCenterSlice: Slice = createFeature(
  appSlice.userCenter,
  userCenterNotes
);
github maktarsis / concept-store-platform / src / app / views / shop / hub / shop.slice.ts View on Github external
import { createFeature, Slice } from 'routeshub';

import { appSlice } from '~app/routing/hub/app.slice';
import { shopNotes, ShopNotes as R } from './shop.notes';

export const shopSlice: Slice = createFeature(appSlice.shop, shopNotes);
github maktarsis / routeshub / integration / app / routing / slices / automobile.slice.ts View on Github external
import { createFeature, Slice } from 'routeshub';

import { automobileRoutes, AutomobileRoutes } from '../notes';
import { appSlice } from './app.slice';

/**
 * Creates feature routes
 * through parent in the root
 */
export const automobileSlice: Slice = createFeature<
  AutomobileRoutes
>(appSlice.automobile, automobileRoutes);
github maktarsis / concept-store-platform / src / app / views / home / hub / home.slice.ts View on Github external
import { createFeature, Slice } from 'routeshub';

import { appSlice } from '~app/routing/hub/app.slice';
import { homeNotes, HomeNotes } from './home.notes';

export const homeSlice: Slice = createFeature(
  appSlice.home,
  homeNotes
);
github maktarsis / routeshub / integration / app / routing / slices / bike.slice.ts View on Github external
import { createFeature, Slice } from 'routeshub';

import { bikeRoutes, BikeRoutes } from '../notes';
import { appSlice } from './app.slice';

/**
 * Creates feature routes
 * through parent in the root
 */
export const bikeSlice: Slice = createFeature(
  appSlice.bike,
  bikeRoutes
);

routeshub

A route management library and pattern for Angular

MIT
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis