2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-05-20 14:37:58 +03:00
Commit Graph

45 Commits

Author SHA1 Message Date
pimlie 8e15fdb8b1 examples: update dependencies 2019-07-25 18:34:32 +02:00
Pim fc71e1f1c4 feat: enable onload callbacks (#414)
* refactor(examples): run ssr example from server

* chore: switch to babel for build

buble complains too much

* feat: enable loaded callbacks

feat: add skip option

* examples: add async-callback browser example

* examples: fix server

* examples(ssr): add reactive script with callback

* fix: also skip on ssr

* chore: remove unused var

* feat: only add mutationobserver if DOM is still loading

feat: disconnect mutation observer once DOM has loaded

* examples: pass vmid to loadCallback instead of el

* feat: also support load callbacks for link/style tags

* test: add unit tests for load

* test: add load e2e test

* chore: fix lint

* chore: remove unused files

* test: fix e2e load callback test

* test: fix attempt

* examples: ie9 compatiblity

destructuring doesnt work in ie9

* fix: add onload attribute on ssr

dont rely on mutationobserver

* chore: lint ci conf

* refactor: remove loadCallbackAttribute config option

test: fix coverage for load

* test: improve coverage

* fix: only use console when it exists (for ie9)

* chore: fix coverage
2019-07-24 10:18:40 +02:00
pimlie 90f9710f26 fix: dont change title when value is undefined (fix #396) 2019-06-22 16:15:49 +02:00
pimlie 3213227f6c examples: ie compatibility 2019-06-10 12:42:12 +02:00
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
pimlie 37563bcc84 chore: exclude ssr from webpack 2019-03-12 12:13:40 +01:00
pimlie a51eb4d783 Merge branch 'next' into docs 2019-03-12 11:26:29 +01:00
pimlie 05b8891110 test: add e2e tests
fix: boolean attributes client side
2019-03-12 10:03:46 +01:00
pimlie ae8b4f58fa chore: lint examples 2019-03-11 10:47:44 +01:00
pimlie c3e97173ee chore: improve ssr example 2019-03-11 10:45:59 +01:00
pimlie e4e0996aee chore: add README to examples 2019-03-11 10:43:05 +01:00
pimlie ba4fd1b321 chore: fix example import 2019-03-05 15:15:51 +01:00
pimlie 97badf61cb feat: add afterNavigation callback (fix: #259) 2019-03-05 15:11:25 +01:00
pimlie 173b31d1d7 feat: export hasMetaInfo helper function 2019-03-05 14:17:28 +01:00
pimlie 087e4abe76 chore: update vue-router example to include refresh once
chore: update example deps
2019-02-20 18:32:36 +01:00
pimlie 679b5d5f0d chore: remove package-lock from examples 2019-02-20 18:30:55 +01:00
pimlie b824a27d35 fix: trigger meta refresh on page load (fixes #283) 2019-02-11 15:10:56 +01:00
pimlie 502c89e356 fix: dev env name 2019-02-11 14:19:07 +01:00
pimlie ec82e1ef9e chore: replace npm with yarn in readme
fix: change default port for examples server to 3000
2019-02-11 00:15:47 +01:00
pimlie 5d64d43862 feat: major refactor, cleanup and jest tests 2019-02-09 21:45:22 +01:00
Sébastien Chopin a9a36c45b7 fix: Remove json-loader, thanks to @manniL 2018-11-26 16:12:51 +01:00
Sébastien Chopin 5e7068b19e wip: Upgrade configs 2018-11-26 15:55:07 +01:00
Atinux 4bc5618328 fix: Lint 2017-12-07 13:31:46 +01:00
Atinux 1a7b49ade1 ssr: Update example 2017-12-07 12:51:24 +01:00
pimlie 41907ed652 Add __dangerouslyDisableSanitizersByTagID property
Specify which property for which tagIDKeyName should not be sanitized
2017-11-24 15:10:12 +01:00
Atinux 8ac7ecccaa example: Update examples 2017-11-06 12:32:18 +01:00
Sébastien Chopin 07b5b60d3b Test headAttrs 2017-08-15 10:39:07 +02:00
Sebastien Chopin 42b56e6a0f fix: Handle kept-alive components & vue-router transitions 2017-08-02 18:39:34 +02:00
Sebastien Chopin 4a3204feba Lint file 2017-05-16 17:27:11 +02:00
Sebastien Chopin fba3c42287 Add SSR example 2017-05-16 17:21:01 +02:00
Sebastien Chopin e9f5bf093f Fix issue #67 2017-05-15 14:43:01 +02:00
Sebastien Chopin cf5c55f068 Fix typo 2017-05-12 17:35:46 +02:00
Sébastien Chopin 8f39c97128 Fix: merge array if vmid is undefined 2016-11-14 20:40:10 +01:00
Declan de Wet 1c9f6d08f3 circumvent need to call refresh() after async actions 2016-11-10 22:25:49 +02:00
Declan de Wet 495f61629a Favor function syntax over per-attribute function syntax 2016-11-10 15:28:21 +02:00
Declan de Wet 076832cbd6 More reliable strategy for getting deepmost component + addition of refresh() method + example & documentation on asynchronous updates 2016-11-09 07:26:38 +02:00
Declan de Wet fa290273df use object-assign ponyfill 2016-11-08 13:17:10 +02:00
Declan de Wet 1e235425d7 modularize vuex example 2016-11-08 12:39:14 +02:00
Declan de Wet 88c3bed379 add vuex example 2016-11-08 11:05:34 +02:00
Declan de Wet 6ad56ec73e implement fix for #9 edge-case 2016-11-08 04:04:14 +02:00
Declan de Wet ebb101d8e7 add vue-router example with render function 2016-11-07 06:58:57 +02:00
Declan de Wet 2f6c27b750 add basic render example + fix a bug where missing root metInfo prevented fetching metaInfo from deeper in the component heirarchy 2016-11-06 21:59:12 +02:00
Declan de Wet 4b21548ccc expose plugin version 2016-11-03 00:02:37 +02:00
Declan de Wet 64dcc9720a es2015-ify source 2016-10-31 22:16:43 +02:00
Declan de Wet f8b6ded280 start preparing examples & tests 2016-10-31 20:51:34 +02:00