vue-schema-microdata
Vue plugin/directive for adding schema.org microdata tags to your markup
Install
npm install vue-schema-microdata# or yarn add vue-schema-microdata
Basic usage
// Import and install pluginVue
<!-- Use v-schema directive in your markup --> Product name Product category $ 129.80
Itemscope
... <!-- or --> ...
Itemtype
...
Types will be prefixed with "https://schema.org/" by default. You can change this URL with the schemaUrl
property in the plugin settings.
Itemprop
<!-- with additional tags -->$