@uportal/sidebar-nav
v1.40.2
Published
Sidebar navigation of present links for uPortal
Downloads
31
Readme
Sidebar Nav
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
Usage as Vue component
The component source can also be imported and used directly within other Vue projects.
import contentCarousel from '@uportal/sidebar-nav/src/components/SidebarNav';
This package requires an attribute link-data-url
This attribute should reference a JSON file with the following structure:
{
"topics": [
{
"title": "Test Item",
"links": [
{
"title": "Link Title",
"url": "/"
},
{
"title": "Link Title",
"url": "/"
}
]
},
{
"title": "Test Item",
"links": [
{
"title": "Link Title",
"url": "/"
}
]
}
]
}