@core-ui/vuetify-form-generator

0.0.11-development • Public • Published

vuetify-form-generator

Rollup badge Jest Vue Storybook Commitizen semantic-release Npm badge Build Status

Vuetify Form Generator

Generated using vue-cli-template-library.

Installation

npm install vuetify-form-generator

vuetify-form-generator can be used as a module in both CommonJS and ES modular environments.

When in non-modular environment, vuetify-form-generator will register all the components to vue by itself.

ES6

//
// You can register a component manually
//
import { HelloWorld } from 'vuetify-form-generator';

export default {
  ...
  components: {
    HelloWorld
  },
  ...
};

//
// or register the whole module with vue
//
import ModuleLibrary from 'vuetify-form-generator';

// Install this library
Vue.use(ModuleLibrary);

CommonJS

//
// You can register a component manually
//
var Vue = require('vue');
var ModuleLibrary = require('vuetify-form-generator');

var YourComponent = Vue.extend({
  ...
  components: {
    'hello-world': ModuleLibrary.HelloWorld
  },
  ...
});

//
// or register the whole module with vue
//
var Vue = require('vue');
var ModuleLibrary = require('vuetify-form-generator');

// Install this library
Vue.use(ModuleLibrary);

Browser

<script src="path/to/vue/vue.min.js"></script>
<script src="path/to/vuetify-form-generator/dist/vuetify-form-generator.min.js"></script>
<!-- Components are registered globally -->

After that, you can use it in your templates:

<hello-world></hello-world>

Changelog

See the GitHub release history.

Contributing

See CONTRIBUTING.md.

/@core-ui/vuetify-form-generator/

    Package Sidebar

    Install

    npm i @core-ui/vuetify-form-generator

    Weekly Downloads

    1

    Version

    0.0.11-development

    License

    MIT

    Unpacked Size

    175 kB

    Total Files

    21

    Last publish

    Collaborators

    • digibytes