0.2.2 • Published 4 years ago

tgb-component-library v0.2.2

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

tgb-component-library

Tagboard reusable component library for Vue 3 services.

NavBar

Props:

(All props are optional)

icon: String

accepts filepath to icon image to display. This is the logo that will appear in the left corner of the NavBar.

appName: String

accepts name of service to display after the icon.

navLinks: Array (of objects)

currently accepts array of objects, each including a title property with a string value. These strings are what will be rendered as the titles of the navigation tabs. Leaving these as objects for now in case we need to pass additional information with each tab. If we need to only pass the tab titles, then this will be refactored to be an array of strings.

activeTab: String

accepts a string value matching a title value in the navLinks array. This is used to delineate which tab is the active tab.

user: Object

accepts a user object with the displayName and avatar properties, both of which are strings.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.4

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago