vue-marquee-horizontal
A marquee plugin for vue
Build Setup
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build# build for production and view the bundle analyzer reportnpm 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() {}};