Repository
https://github.com/vinicius73/vue-page-title
What is the project about?
A plugin for Vue.js that centralizes and makes it easy to manipulate the page title tag.
Usage
Setup
import Vue from 'vue'
import VuePageTitle from 'vue-page-title'
Vue.use(VuePageTitle, {
suffix: '- My App '
})
in component
<script>
export default {
title: 'Page title',
mounted () {
const servantTypes = [
'Ruler', 'Saber', 'Archer', 'Lancer', 'Rider', 'Caster', 'Berserker', 'Assassin'
]
this.$interval = setInterval(() => {
this.$title = servantTypes[Math.floor(Math.random() * servantTypes.length)]
}, 2000)
},
beforeDestroy () {
clearInterval(this.$interval)
}
}
</script>
<template>
<div>{{ $title }}</div>
</template>
Technology Stack
- rollup
To provide various package formats, opening up more possibilities of use. - ava
A simple yet fast and efficient test runner
How to contribute?
Contact on Discord (vinicius73#5705), Github Issues or Replying to this post
Hey @vinicius73
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Thank you for your contribution. Its good to see a Plugin Development, but feels like a very small plugin. Are you planning of adding more features to this plugin?
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Thanks @codingdefined
I plan to create a demo soon.
Congratulations @vinicius73! You received a personal award!
Click here to view your Board
Congratulations @vinicius73! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!