UNPKG

access-nyc-patterns

Version:

User Interface Patterns for Benefits Access

18 lines (11 loc) 1.02 kB
The [Vue Card](#vue-card) can be imported from from the paths below in your main script and added to the Vue instance before your application declaration: import CardVue from 'src/components/card/card.vue'; Vue.component('c-card', CardVue); new Vue(); Below is a guide for using these particular component properties. For basic details of using Vue Components within a Vue application, [refer to the Vue.js documentation](https://vuejs.org/v2/guide/components.html). #### Props Below is a description of accepted properties and their values. Prop | Type | Description -----------|-----------|- `:card` | *object* | Content and configuration for the card to render. A [sample set can be seen here](https://github.com/CityOfNewYork/ACCESS-NYC-PATTERNS/blob/master/src/components/card/card.data.js). In order to disable certain options, just omit those props. `:strings` | *object* | A dictionary containing static strings used in the component. It can be packaged with the object above.