Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Abdullah-Alharbi-Archived-Projects/navbar-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

navbar-vue

custom navbar with great animation

preview

demo

Navbar configurations

navbar: {
  brand: "my-awesome-site", // note: you can use function to return custom component
  links: [
    {
      to: "/about/",
      value: "About", // <a :href="to">{{ value }}</a>
      icon: () => <my-icon />, // optional: custom icon.
    }
  ],
  useAnchor: true, // false will use router-link
  ulClass: "nav-links", // optional: custom class for unordered list
                        // note: without dot !
  liClass: "", // optional: custom class for list item.
  customLinksComponent: () => <my-custom-links-component /> // note: your component should take the same props in link object.
  openClass: "", // optional: custom class for animation on mobile mode
  mobileMode: false // this is a required prop for mobile
}

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

custom navbar with great animation for mobile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published