ng-router-loader

  • Version 2.1.0
  • Published
  • 2 dependencies
  • MIT license

Install

npm i ng-router-loader
yarn add ng-router-loader
pnpm add ng-router-loader

Overview

Webpack loader for `NgModule` lazy loading using the angular router

Index

Functions

function loader

loader: typeof loader;

    function setCodeGen

    setCodeGen: (name: string, codeGen: Loader.LoaderCodeGen) => void;
    • Add a code generator that can be used in the 'loader' option.

      Parameter name

      Parameter codeGen

    Type Aliases

    type LoaderCodeGen

    type LoaderCodeGen = Loader.LoaderCodeGen;

      type ReplaceResult

      type ReplaceResult = Loader.ReplaceResult;

        type RouteResourceOptions

        type RouteResourceOptions = options.RouteResourceOptions;

          type RouterLoaderOptions

          type RouterLoaderOptions = options.RouterLoaderOptions;

            Package Files (1)

            Dependencies (2)

            Dev Dependencies (26)

            Peer Dependencies (0)

            No peer dependencies.

            Badge

            To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

            You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/ng-router-loader.

            • Markdown
              [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/ng-router-loader)
            • HTML
              <a href="https://www.jsdocs.io/package/ng-router-loader"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>