angular

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package angular provides generators for Angular applications and libraries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateApp

func GenerateApp(config AppConfig) ([]string, error)

GenerateApp generates a new Angular application.

func GenerateLib

func GenerateLib(config LibConfig) ([]string, error)

GenerateLib generates a new Angular library.

Types

type AppConfig

type AppConfig struct {
	Name       string
	Directory  string
	Tags       []string
	Style      string // css, scss, sass, less
	Routing    bool
	Standalone bool   // Standalone components (Angular 17+)
	SSR        bool   // Server-side rendering
	Prefix     string // Component selector prefix
	Strict     bool
}

AppConfig holds configuration for Angular app generation.

type LibConfig

type LibConfig struct {
	Name        string
	Directory   string
	Tags        []string
	Prefix      string
	Publishable bool
	Buildable   bool
}

LibConfig holds configuration for Angular library generation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL