Able Pro
Vue Laravel
Vue Laravel
  • Documentation
  • Installation
  • Directory Structure
  • ⛱️Theme UI
    • 🎛️Icons
    • 👓Change Logo
    • 🆎Change Typography
    • 🔮Theme Colors
    • ⚙️Theme Settings
    • ⬅️RTL
  • 👩‍💻Development
    • Database Connection
    • Sanctum Integration
    • Sanctum Authentication
    • Frontend API
    • State Management
    • Axios API Calls
    • Routing
  • Perfect Scrollbar
  • Layouts
  • Create a new page
  • Remove Auth
  • Dependencies
  • Roadmap
  • Changelog
Powered by GitBook
On this page
  • Setup
  • How to use in our local files ?

Perfect Scrollbar

We use perfect scrollbar to remove browser default scrollbar

PreviousRoutingNextLayouts

Last updated 1 year ago

We have used global registration in whole template for perfect scrollbar.

Please refer to the official docs .

Setup

main.ts (for globally setup)

import { PerfectScrollbarPlugin } from 'vue3-perfect-scrollbar'

import 'vue3-perfect-scrollbar/style.css' // for scrollbar css

app.use(PerfectScrollbarPlugin)

How to use in our local files ?

<PerfectScrollbar style="height: 265px"> // Set height as per your content
        // Add long content
</PerfectScrollbar>
here