Skip to content

make the vue components reusable #1

@vsimko

Description

@vsimko

This repository should contain vue components for seronet that are reusable in other projects.

Some example how should work:
in package.json:

{
  "dependencies": {
    "seronet-vue-datasheet": "git+https://github.com/seronet-project/seronet-vuejs-datasheet.git",
  }
}

then in mycomponent.vue

<template>
  <DataSheet :data="someDatasheetData"/>
</template>
<script>
import DataSheet from 'seronet-vue-datasheet/DataSheet' // or something similar
// get the `someDatasheetData` from somewhere, e.g. graphql server
</script>

this was just a quick and dirty example, maybe the API could be nicer.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions