Skip to content

yubathom/postwoman-sfc

Repository files navigation

work in progress 🚧

Install

yarn add postwoman-sfc
or
npm i -S postwoman-sfc

Usage

You can declare it globally (in src/main.js)

import PwRest from 'postwoman-sfc'
Vue.use(PwRest)

or locally (inside a component)

import { PwRest } from 'postwoman-sfc'

export default {
  components: { PwRest }
}

And use it

<pw-rest
  :description="'A list of users'"
  :path="'api/users'"
  :url="'https://reqres.in/'"
/>

About

postwoman.io spec single file components

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published