2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-08 06:32:26 +03:00

start preparing examples & tests

This commit is contained in:
Declan de Wet
2016-10-31 20:51:34 +02:00
parent 5d497180d4
commit f8b6ded280
12 changed files with 3533 additions and 34 deletions
+21
View File
@@ -0,0 +1,21 @@
import Vue from 'vue'
import VueMeta from 'vue-meta'
Vue.use(VueMeta)
new Vue({
template: `
<div id="app">
<h1>Basic</h1>
<p>Inspect Element to see the meta info</p>
</div>
`,
metaInfo: {
title: 'Basic',
titleTemplate: '%s | Vue Meta Examples',
htmlAttrs: {
lang: 'en',
amp: undefined
}
}
}).$mount('#app')
+5
View File
@@ -0,0 +1,5 @@
<!DOCTYPE html>
<link rel="stylesheet" href="/global.css">
<a href="/">&larr; Examples index</a>
<div id="app"></div>
<script src="/__build__/basic.js"></script>