@lassehaslev/vue-file-field

0.0.4 • Public • Published

vue-file-field

File field Vue style

Install

npm install @lassehaslev/vue-file-field --save-dev

Use

Javascript

    Vue.component( 'file-field', require( '@lassehaslev/vue-file-field' ) );

HTML

    <file-field :multiple="true" accept="image/*" name="file"></file-field>

Styles can be found under src/styles/VueFileField.styl

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Readme

Keywords

none

Package Sidebar

Install

npm i @lassehaslev/vue-file-field

Weekly Downloads

1

Version

0.0.4

License

none

Last publish

Collaborators

  • lassehaslev