JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q46637F
  • License MIT

Vue form components with validation

Package Exports

  • vfc

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vfc) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

VFC - Vue form components

Install

NPM

Installing with npm is recommended and it works seamlessly with webpack.

npm i vfc

Download

You can download latest version from the Github: Download

Quick start

Global

To use in your project, just import vue-form-component and install into Vue.

import Vue from 'vue'
import App from './App.vue'
import VFC from 'vfc'
import 'vfc/vfc.css'

Vue.use(VFC)

new Vue({
  render: h => h(App)
}).$mount('#app')

On demand

<template>
  <vue-input></vue-input>
</template>

<script>
import 'vfc/vfc.css'
import { Input } from 'vfc'

export default {
  components: {
    [Input.name]: Input
  }
}
</script>

License

MIT © 2018-present Anton Reshetov