Skip to content

generateSlugPreview

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web/src/lib/url-utils.ts

Generate an SEO-friendly slug from a title (client-side) Note: Use the backend UrlService for authoritative slug generation

Signature

ts
function generateSlugPreview(title: string): string

Parameters

NameType
titlestring

Returns: string

Was this page helpful?

Download as PDF