Socket
Socket
Sign inDemoInstall

vue-mouse-parallax

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-mouse-parallax - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc