Socket
Socket
Sign inDemoInstall

vuejs-adminpanel

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vuejs-adminpanel

Vue JS Admin Panel Template. (Responsive)


Version published
Weekly downloads
9
increased by200%
Maintainers
1
Install size
13.0 kB
Created
Weekly downloads
 

Readme

Source

Vue.js Navigation Bar and Sidebar (Responsive)

Installation:

npm install vuejs-adminpanel --save
npm install bootstrap --save

How to use:

<script>
    import AdminPanel from "vuejs-adminpanel";

    export default {
        components:{
            AdminPanel
        }
    }
</script>

<style lang="scss">

    @import "~bootstrap";

    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body{
        font-family: sans-serif;
        background-color: #f1f1f1;
    }

</style>

Example:

<template>
    <admin-panel
            navbar-bg-color="#30475e"
            sidebar-bg-color="#fafafa"
            hamburger-btn-color="#f2f2f2"
    >
        <!-- Navbar -->
        <div slot="navbar">
            <!-- Navbar Element Add-->
            <span class="text-white">Navbar</span>
        </div>
        <!-- Navbar END -->

        <!-- Sidebar -->
        <div slot="sidebar" class="v-sidebar">
            <!-- Sidebar Element Add-->
            <h2>Sidebar</h2>
        </div>
        <!-- Sidebar END -->

        <!-- Content -->
        <div slot="content">
            <!-- Content Element Add-->
            <h3>Content</h3>
        </div>
        <!-- Content END -->


    </admin-panel>
</template>

<script>
    import AdminPanel from "./components/AdminPanel";

    export default {
        components:{
            AdminPanel
        }
    }
</script>

<style lang="scss">

    @import "~bootstrap";

    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body{
        font-family: sans-serif;
        background-color: #f1f1f1;
    }

    .v-sidebar{
        margin-top: 20px;
        text-align: center;
    }

</style>

Author

Mustafa ER | mustafa_er_2@hotmail.com

License

MIT

Keywords

FAQs

Last updated on 28 Apr 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc