vue-gtranslate
Advanced tools
Comparing version 2.0.8 to 2.0.11
module.exports = { | ||
root: true, | ||
env: { | ||
node: true | ||
}, | ||
'extends': [ | ||
'plugin:vue/essential', | ||
'eslint:recommended' | ||
], | ||
parserOptions: { | ||
parser: 'babel-eslint' | ||
}, | ||
rules: { | ||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' | ||
} | ||
} |
{ | ||
"name": "vue-gtranslate", | ||
"version": "2.0.8", | ||
"version": "2.0.11", | ||
"description": "gtranslate plugin for vue js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -8,3 +8,12 @@ # vue-gtranslate | ||
```sh | ||
npm i vue-gtranslate | ||
``` | ||
### Demo | ||
```html | ||
Add the script to the head of your index.html file | ||
<script type="text/javascript" | ||
@@ -11,0 +20,0 @@ src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
219211
48
47
32