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

67 Commits

Author SHA1 Message Date
pimlie 2e2c08e1f8 chore: prepare ssr example 2021-01-19 12:22:57 +01:00
pimlie e68b53573e feat: refactor of object merge & make vue-router example work 2021-01-18 01:16:28 +01:00
pimlie 642a62c561 feat: continued progress 2020-11-01 20:53:39 +01:00
pimlie bb04dc068d feat: add deepest resolver (wip)
feat: improve resolver related typing
2020-08-10 02:06:53 +02:00
pimlie 5add8bf83f feat: make attributes part of the metainfo object
feat: support removing old attributes

feat: better support content as either attribute or child
2020-08-02 21:43:55 +02:00
pimlie 5eaa0ab5b6 feat: add support for attributes (wip)
support slots for head/body

make config fully external (while providing defaults users can use)

type fixes
2020-07-26 23:21:06 +02:00
pimlie 27aaf4744a test: add render tests
fix: webpack dev server

chore: use eslint not prettier

unfeat: remove support for comments (its brokenn in Vue, maybe later)
2020-07-26 00:11:28 +02:00
pimlie 28d3fc1923 feat: convert to ts (wip) 2020-06-01 01:05:59 +02:00
pimlie 303eae1603 feat: improve useApi 2020-05-24 23:42:37 +02:00
pimlie b0edfbe6bd feat: implement first useApi basics 2020-05-18 00:32:02 +02:00
pimlie 5d0eb1ab60 feat: first work on vue v3 composition metainfo app 2020-05-03 19:59:05 +02:00
pimlie 41c7561bf9 initial work on v3 2020-04-25 12:32:57 +02:00
pimlie 6d25ff2f37 feat: add poc vue-compiler 2020-04-05 10:28:12 +02:00
pimlie 4c03b38cae chore: use core-js@3 2020-02-26 19:28:58 +01:00
pimlie ead04e9c65 chore: remove debug info 2019-12-01 14:54:54 +01:00
pimlie a5effabfc8 test: fix unit tests 2019-12-01 14:52:07 +01:00
pimlie d9b0ab29da feat: add support for setting attributes from multiple apps
chore: improve build size
2019-09-17 13:55:29 +02:00
pimlie 0ab76ee16b feat: add possibility to add additional meta info
refactor: server injectors

feat: add head, bodyPrepend, bodyAppend injectors

refactor: create browserbuild through rollup replace (not separate entry)
2019-09-17 13:55:29 +02:00
pimlie 0e49a9c43e refactor: minimize function calls / use of bind 2019-09-12 17:19:55 +02:00
pimlie 1854018852 example: update dependencies 2019-09-12 12:33:47 +02:00
pimlie 9225d5e7fe example: cleartimeout in ssr example 2019-09-12 12:33:47 +02:00
Pim 6907f9ac98 fix: meta content templates (#429)
* examples: add content templates to ssr example

* fix: improve meta content templates

* chore: cleanup debug helper

* refactor: split long if into variables
2019-08-03 10:44:34 +02:00
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