mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-02 03:54:05 +03:00
024e7c5a62
* feat: add an appId to tags to support multiple apps * feat: show warning on calling () on non-vuemeta components * feat: always use appId ssr for server-generated apps * test: update tests for appId * chore: update circleci to only run audit for dependencies * fix: dont set data-vue-meta attribute on title it has no use on the client as we use document.title there. Which also means the appId listed would be wrong once the title is updated by another app then the ssr app * chore: remove unused import * chore: improve not supported message
18 lines
530 B
HTML
18 lines
530 B
HTML
<!DOCTYPE html>
|
|
<html data-vue-meta-server-rendered>
|
|
<link rel="stylesheet" href="/global.css">
|
|
<title data-vue-meta="ssr">App 1 title</title>
|
|
<meta data-vue-meta="ssr" name="og:description" content="Hello from app 1">
|
|
</html>
|
|
<body>
|
|
<a href="/">← Examples index</a>
|
|
<div id="app1" data-server-rendered="true"><h1>App 1</h1></div>
|
|
<hr />
|
|
<div id="app2"></div>
|
|
<hr />
|
|
<div id="app3"></div>
|
|
<script src="/__build__/multiple-apps.js"></script>
|
|
<script data-vue-meta="ssr" data-body="true">var appId=1.1</script>
|
|
</body>
|
|
</html>
|