Giter Club home page Giter Club logo

vue-transition-component's Introduction

Travis Code Climate npm GitHub issues

vue-transition-component

Provides GreenSock transition functionality to vue.js components.

Table of contents

  1. Installation
  2. Demo
  3. Usage
  4. Building
  5. Authors
  6. Contribute
  7. License

Installation

yarn / npm

yarn add vue-transition-component
npm i -S vue-transition-component

Demo

I've created a demo repository that contains the setup for the latest vue-skeleton (v0.8.1) with the vue-transition-component (v1.1.17) installed. You can inspect the code there or if you just want to preview the block system you can visit the demo online!

Usage

Detailed documentation and examples are located in the wiki!

Building

In order to build vue-transition-component, ensure that you have Git and Node.js installed.

Clone a copy of the repo:

git clone https://github.com/larsvanbraam/vue-transition-component.git

Change to the vue-transition directory:

cd vue-transition-component

Install dev dependencies:

yarn

Use one of the following main scripts:

yarn build           # build this project
yarn dev             # run dev-watch mode, serving example/index.html in the browser
yarn generate        # generate all artifacts (compiles ts, webpack, docs and coverage)
yarn test:unit       # run the unit tests
yarn validate        # runs validation scripts, including test, lint and coverage check
yarn lint            # run tslint on this project
yarn doc             # generate typedoc documentation

When installing this module, it adds a pre-push hook, that runs the validate script before committing, so you can be sure that everything checks out.

If you want to create the distribution files yourself, you can run the build-dist script, and the following files will get generated in the dist folder:

  • /dist/vue-transition-component.js: bundled with webpack, can be loaded from a script tag, available as window.SengScrollTracker
  • /dist/vue-transition-component.min.js: same as above, but minified
  • /dist/vue-transition-component-amd.js: bundled with webpack, can be used with e.g. requirejs
  • /dist/vue-transition-component-commonjs.js: bundled with webpack, can be used in systems that support commonjs, but you should just use npm
  • /dist/vue-transition-component-umd.js: bundled with webpack, works in the browser, with requirejs, and in a commonjs system
  • /dist/vue-transition-component-umd.min.js: same as above, but minified
  • /dist/vue-transition-component-system.js: bundled with typescript, can be used in systems that support systemjs
  • /dist/vue-transition-component-es6.zip: transpiled with typescript, only types are removed from the source files

Authors

View AUTHORS.md

Contribute

View CONTRIBUTING.md

License

MIT © Lars van Braam

vue-transition-component's People

Contributors

jesse-mm avatar larsvanbraam avatar riccoarntz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.