vendix-frontend-lazy-routing

Community

Always lazy-loaded routes for faster apps.

AuthorRzyfront
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables frontend teams to implement a consistent pattern for always lazy-loaded routes in Angular applications, reducing initial bundle size and improving perceived performance.

Core Features & Use Cases

  • Lazy load standalone components using loadComponent to create on-demand UI pages.
  • Lazy load feature modules using loadChildren for routes with child routes.
  • Real-world example: add a new admin settings route that is loaded only when accessed, avoiding unnecessary code in the initial bundle.

Quick Start

Identify the active parent routes file (for example store_admin.routes.ts) and ensure you do not statically import the target component. Add a route object that uses loadComponent or loadChildren to lazy-load the module or component. Build and run the app, then navigate to the new route and verify that a separate chunk is generated and loaded on demand.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vendix-frontend-lazy-routing
Download link: https://github.com/Rzyfront/Vendix/archive/main.zip#vendix-frontend-lazy-routing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.