LogoShipTanStarter Docs

Configuration

Learn how to configure your ShipTanStarter website

This guide provides a detailed reference for configuring your ShipTanStarter website.

Configuration Structure

The configuration is split into several files in the src/config directory, each responsible for a specific aspect of the website.

website.ts
navbar-config.ts
footer-config.ts
sidebar-config.ts
avatar-config.ts
social-config.ts

Configuration Files

The configuration files are used to define the structure and content of the website.

Shared Data Types

The configuration uses consistent data types across different menus:

Basic menu item with the following properties:

PropertyTypeDescription
titlestringDisplay text for the menu item
descriptionstring?Optional description for dropdown items
iconTablerIcon?Optional icon component from Tabler Icons
hrefstring?Link URL destination
externalboolean?Whether the link opens in a new tab
authorizeOnlystring[]?User roles that can see this item
itemsMenuItemConfig[]?Submenu items for dropdowns

Best Practices

  1. Use consistent icons from Tabler Icons
  2. For role-based items, always use the authorizeOnly property to limit visibility
  3. Use the Routes object (in src/lib/routes.ts) for defining URLs to ensure consistency

Next Steps

Now that you understand the configuration structure, explore these related topics:

On this page