vc-parallax
vc-parallax
VcParallax is a lightweight component, based on VueJs for adding awesome parallax effects to web pages.
Website and demo: https://parallax.wemakesites.net
Repo: https://bitbucket.org/acidmartin/vc-parallax
Author: Martin Ivanov
Installation
// npm
$ npm install vc-parallax --save
// yarn
$ yarn add vc-parallax
Adding to a VueJs Project
import {VcParallax, VcParallaxSection} from 'vc-parallax'
// import the stylesheet
import '../node_modules/vc-parallax/dist/lib/vc-parallax.min.css'
// add to Vue
Vue.use(VcParallax)
Vue.use(VcParallaxSection)
Demo, configuration, events and props
https://parallax.wemakesites.net
Development and Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
Dependencies
Dependencies
autoprefixer: ^7.1.2babel-core: ^6.22.1babel-eslint: ^7.1.1babel-loader: ^7.1.1babel-plugin-transform-runtime: ^6.22.0babel-preset-env: ^1.3.2babel-preset-stage-2: ^6.22.0babel-register: ^6.22.0chalk: ^2.0.1connect-history-api-fallback: ^1.3.0copy-webpack-plugin: ^4.0.1css-loader: ^0.28.0cssnano: ^3.10.0eslint: ^3.19.0eslint-friendly-formatter: ^3.0.0eslint-loader: ^1.7.1eslint-plugin-html: ^3.0.0eslint-config-standard: ^6.2.1eslint-plugin-promise: ^3.4.0eslint-plugin-standard: ^2.0.1eventsource-polyfill: ^0.9.6express: ^4.14.1extract-text-webpack-plugin: ^2.0.0file-loader: ^0.11.1friendly-errors-webpack-plugin: ^1.1.3html-webpack-plugin: ^2.28.0http-proxy-middleware: ^0.17.3npm-run-all: ^4.0.2webpack-bundle-analyzer: ^2.2.1cross-env: ^5.0.1karma: ^1.4.1karma-coverage: ^1.1.1karma-mocha: ^1.3.0karma-phantomjs-launcher: ^1.0.2karma-phantomjs-shim: ^1.4.0karma-sinon-chai: ^1.3.1karma-sourcemap-loader: ^0.3.7karma-spec-reporter: 0.0.31karma-webpack: ^2.0.2lolex: ^1.5.2mocha: ^3.2.0chai: ^3.5.0sinon: ^2.1.0sinon-chai: ^2.8.0inject-loader: ^3.0.0babel-plugin-istanbul: ^4.1.1phantomjs-prebuilt: ^2.1.14chromedriver: ^2.27.2cross-spawn: ^5.0.1nightwatch: ^0.9.12selenium-server: ^3.0.1semver: ^5.3.0shelljs: ^0.7.6opn: ^5.1.0optimize-css-assets-webpack-plugin: ^2.0.0ora: ^1.2.0rimraf: ^2.6.0url-loader: ^0.5.8vue-loader: ^12.1.0vue-style-loader: ^3.0.1vue-template-compiler: ^2.3.3webpack: ^2.6.1webpack-dev-middleware: ^1.10.0webpack-hot-middleware: ^2.18.0webpack-merge: ^4.1.0