Nuxt SaaS Template

repository·main·Indexed 20 days ago

https://github.com/nuxt-ui-templates/saas

A production-ready Nuxt SaaS template powered by Nuxt UI. It provides a complete foundation for launching SaaS products, featuring pre-built landing pages, pricing, documentation, and a blog. The template integrates Nuxt Content for structured data management, includes full-text search, native dark mode, and auto-generated sidebar navigation.

Tokens
8.8K
Snippets
44
Records
53
Agent score
69%

What's inside nuxt-ui-template-saas

  1. Overview of the Nuxt SaaS Template

    main

    The Nuxt SaaS Template is a ready-to-use foundation for building responsive SaaS applications using Nuxt UI. It provides pre-built, customizable pages including:

    • Landing Page: For marketing and product introduction.
    • Pricing Page: To showcase subscription tiers.
    • Documentation: A structured area for user guides.
    • Blog: For content marketing and updates.
    • Authentication: Pre-configured Login and Register pages.
  2. Key features of the Nuxt SaaS Template

    main

    The template leverages several core technologies to provide a high-quality developer and user experience:

    • Nuxt Framework: Core engine for performance and routing.
    • Nuxt UI: Comprehensive suite of UI components for consistent design.
    • Nuxt Content & MDC Syntax: Uses Markdown with component integration (MDC) for dynamic content management.
    • Auto-generated Sidebar Navigation: Navigation is automatically derived from your content structure.
    • Full-Text Search: Built-in search capabilities for content discovery.
    • Dark Mode: Native support for user theme preferences.
    • Optimized Typography: Refined typography settings for readability.
  3. Create External and Internal Links

    main

    Links are created by wrapping link text in brackets followed by the URL in parentheses: [text](url).

    • External Links: Use full URLs, e.g., [Nuxt UI](https://ui.nuxt.com).
    • Internal Links: Use root-relative paths to link within your documentation, e.g., [Installation](/getting-started/installation).
    [Nuxt UI](https://ui.nuxt.com/getting-started/installation)
    [Installation](/getting-started/installation)
  4. Use the picture-and-text component in Markdown

    main

    The template supports a custom ::picture-and-text component within Markdown files to create alternating layouts of text and images.

    Layout Options

    • Standard Layout: Wrap a heading and an #image block within ::picture-and-text tags. The image will appear on one side and the text on the other.
    • Reversed Layout: To flip the position of the image and text (e.g., for a zigzag pattern), add --- and reverse: true inside the component tags.

    Image Syntax

    Images within this component use a specific #image identifier followed by standard Markdown image syntax. You can apply classes like {.rounded-lg} and specify height and width attributes directly in the Markdown image tag.

    ::picture-and-text
    ### Section Title
    
    Text content goes here...
    
    #image
    ![alt text](url){.rounded-lg height="400" width="400"}
    ::
    
    ::picture-and-text
    ---
    reverse: true
    ---
    ### Reversed Section Title
    
    Text content goes here...
    
    #image
    ![alt text](url){.rounded-lg height="400" width="400"}
    ::
  5. Embed HTML elements like iframes

    main

    The Embed feature allows you to include various HTML elements, such as videos and iframes, directly into your documentation. This is useful for adding interactive or multimedia content.

    To ensure embedded elements like iframes take up the full width of their container, you can use the following class configuration in your content block: class: "[&>div]:*:w-full"

    ---
    class: "[&>div]:*:w-full"
    ---
    :iframe{src="https://www.youtube-nocookie.com/embed/_eQxomah-nA?si=pDSzchUBDKb2NQu7" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen style="aspect-ratio: 16/9;"}