vue-marquee-tips
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -12,5 +12,3 @@ var path = require('path') | ||
var env = process.env.NODE_ENV === 'testing' | ||
? require('../config/test.env') | ||
: config.build.env | ||
var env = config.build.env | ||
@@ -17,0 +15,0 @@ var webpackConfig = merge(baseWebpackConfig, { |
{ | ||
"name": "vue-marquee-tips", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A Vue component to marquee-tips", | ||
@@ -14,4 +14,3 @@ "author": "wg <247026287@qq.com>", | ||
"dependencies": { | ||
"vue": "^2.2.6", | ||
"vue-router": "^2.3.1" | ||
"vue": "^2.2.6" | ||
}, | ||
@@ -18,0 +17,0 @@ "devDependencies": { |
@@ -28,6 +28,23 @@ # vue-marquee-tips | ||
# build for production and view the bundle analyzer report | ||
npm run build --report | ||
``` | ||
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). | ||
## Usage | ||
```javascript | ||
import MarqueeTips from 'vue-marquee-tips' | ||
export default { | ||
components: { | ||
MarqueeTips | ||
} | ||
} | ||
``` | ||
```html | ||
<MarqueeTips content="我是一个短短的提示!"></MarqueeTips> | ||
``` | ||
## Options | ||
| Name | Type | Default | Description | | ||
|---|---|---|---| | ||
| `content` | `String` | `undefined` | tooltips's content | | ||
| `font` | `String` | `16px sans-serif` | tooltips's font | | ||
| `speed` | `Number` | `5` | animation-duration | | ||
| `fullScreen` | `Boolean` | `true` | is fullScreen | |
@@ -5,3 +5,2 @@ // The Vue build version to load with the `import` command | ||
import App from './App' | ||
import router from './router' | ||
@@ -13,5 +12,4 @@ Vue.config.productionTip = false | ||
el: '#app', | ||
router, | ||
template: '<App/>', | ||
components: { App } | ||
}) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
329910
1
50
11
37
598
- Removedvue-router@^2.3.1
- Removedvue-router@2.8.1(transitive)