@souljs/vue-admin-layout
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

@souljs/vue-admin-layout

Soul Admin Layout

English | 中文

[!NOTE] If you think SoybeanAdmin is helpful to you, or you like our project, please give us a ⭐️ on GitHub. Your support is the driving force for us to continue to improve and add new features! Thank you for your support!

Usage

Environment Preparation

Make sure your environment meets the following requirements:

  • NodeJS: >=18.0.0, recommended 18.19.0 or higher.

Install Dependencies

npm install @souljs/vue-admin-layout
yarn install @souljs/vue-admin-layout
pnpm install @souljs/vue-admin-layout
<script setup lang="ts">
import { AdminLayout } from "@souljs/vue-admin-layout";
import "@souljs/vue-admin-layout/dist/style.css";
</script>

<template>
  <AdminLayout></AdminLayout>
</template>

AdminLayout

Background management system layout components

  • Support vertical (vertical) and horizontal (horizontal) two layout modes
  • The layout consists of Header, Tab, sidebar Sider, body Content, and bottom Footer, all of which can be controlled to render or not, except body Content
  • Supports full-screen Content

Api usage

Stats

Fields Instructions Type Default
mode Layout Pattern LayoutMode "vertical"
commonClass A generic style class name for a component that controls common styles for containers, headers, tabs, sidebars, bodies, and bottoms string "transition-all-300"
fixedTop Fix the top header and Tab section boolean true

Instructions

LayoutMode

/**
 * Layout Pattern
 * - horizontal 
 * - vertical 
 */
type LayoutMode = "horizontal" | "vertical";

/@souljs/vue-admin-layout/

    Package Sidebar

    Install

    npm i @souljs/vue-admin-layout

    Weekly Downloads

    2

    Version

    0.0.7

    License

    MIT

    Unpacked Size

    22.8 kB

    Total Files

    7

    Last publish

    Collaborators

    • lee_malachi