1.0.2 • Published 6 years ago
vue-marquee-horizontal v1.0.2
vue-marquee-horizontal
A marquee plugin for vue
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
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
#Api
<template>
<div id="app">
<div class="scroll"><Marquee content="这是有很多个字赶时髦地地"></Marquee></div>
</div>
</template>
import Css from 'vue-marquee-horizontal/dist/vue-marquee.min.css'
import Marquee from 'vue-marquee-horizontal';
export default {
components: {
Marquee
},
data() {
}
};