0.0.1 • Published 4 years ago
postwoman-sfc v0.0.1
work in progress :construction:
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/'"
/>
0.0.1
4 years ago