2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-05-25 14:44:04 +03:00
Files
vue-meta/examples
Pim 024e7c5a62 feat: add basic support for multiple apps on one page (#373)
* 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
2019-06-06 10:40:15 +02:00
..
2019-03-05 15:15:51 +01:00
2019-03-11 10:47:44 +01:00
2019-03-11 10:47:44 +01:00
2019-03-11 10:47:44 +01:00
2019-03-12 11:26:29 +01:00
2019-03-11 10:47:44 +01:00
2019-03-12 10:03:46 +01:00
2016-10-31 20:51:34 +02:00
2019-03-11 10:43:05 +01:00
2019-03-12 12:13:40 +01:00

Vue Meta Examples

Prepare examples

To prepare the examples to run locally, please follow these steps:

git clone https://github.com/nuxt/vue-meta
cd examples
yarn install

Run the examples

When the examples are installed locally, start the example server as follows

yarn start
// or
HOST=0.0.0.0 PORT=8080 yarn start

and browse to http://localhost:3000 or whatever you changed the host and port to

SSR Example

The server side rendering example is available on the cli only, to run the SSR example just run

yarn ssr

Developing

If you would like to use the examples while developing or debugging vue-meta features or issues, please do as follows

git clone https://github.com/nuxt/vue-meta
yarn install
cd examples
yarn install
yarn dev