vue-mouse-parallax
Advanced tools
Comparing version 0.9.0 to 0.9.1
{ | ||
"name": "vue-mouse-parallax", | ||
"description": "An easy to use Mouse Parallax Component - Made with Vue.js", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Amine Bouyarmane", |
@@ -42,25 +42,2 @@ # vue-mouse-parallax | ||
## Distribution import | ||
Install all the components: | ||
```javascript | ||
import 'vue-mouse-parallax/dist/vue-mouse-parallax.css' | ||
import VueMouseParallax from 'vue-mouse-parallax/dist/vue-mouse-parallax.common' | ||
Vue.use(VueMouseParallax) | ||
``` | ||
Use specific components: | ||
```javascript | ||
import 'vue-mouse-parallax/dist/vue-mouse-parallax.css' | ||
import { ParallaxContainer, ParallaxElement } from 'vue-mouse-parallax/dist/vue-mouse-parallax.common' | ||
Vue.component('parallax-container', ParallaxContainer) | ||
Vue.component('parallax-element', ParallaxElement) | ||
``` | ||
**⚠️ You may have to setup your bundler to embed the css file in your page.** | ||
## Browser | ||
@@ -75,32 +52,3 @@ | ||
The plugin should be auto-installed. If not, you can install it manually with the instructions below. | ||
Install all the components: | ||
```javascript | ||
Vue.use(VueMouseParallax) | ||
``` | ||
## Source import | ||
Install all the components: | ||
```javascript | ||
import Vue from 'vue' | ||
import VueMouseParallax from 'vue-mouse-parallax/src' | ||
Vue.use(VueMouseParallax) | ||
``` | ||
Use specific components: | ||
```javascript | ||
import Vue from 'vue' | ||
import { ParallaxContainer, ParallaxElement } from 'vue-mouse-parallax/src' | ||
Vue.component('parallax-container', ParallaxContainer) | ||
Vue.component('parallax-element', ParallaxElement) | ||
``` | ||
**⚠️ You need to configure your bundler to compile `.vue` files.** More info [in the official documentation](https://vuejs.org/v2/guide/single-file-components.html). | ||
# Usage | ||
@@ -107,0 +55,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27157
81