- journal.routes.search (off by default) registers journal-search, the results page for ?q= in the API's relevance order (no sort is sent), server-rendered with a Polish-aware result count. - JournalSearchBox: an icon button and a WAI-ARIA combobox with debounced ?fields=suggest suggestions, stale answers dropped, query words marked ignoring diacritics; a plain GET form without JS. - The module keeps the search path out of the route cache and the sitemap and marks it noindex, follow. - Client: suggestPosts and the fields option; useJournalLinks.searchLink.
33 lines
768 B
JSON
33 lines
768 B
JSON
{
|
|
"name": "vue-journal-layer",
|
|
"version": "0.7.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./nuxt.config.ts",
|
|
"scripts": {
|
|
"dev": "nuxi dev .playground",
|
|
"build:playground": "nuxt build .playground",
|
|
"test": "node --test --test-reporter=tap tests/*.test.ts",
|
|
"dev:prepare": "nuxt prepare .playground",
|
|
"check:git-install": "bash scripts/check-git-install.sh"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.18"
|
|
},
|
|
"dependencies": {
|
|
"@nuxt/fonts": "0.14.0",
|
|
"@nuxtjs/i18n": "10.4.0",
|
|
"@nuxtjs/seo": "5.2.1",
|
|
"sanitize-html": "2.18.0"
|
|
},
|
|
"peerDependencies": {
|
|
"nuxt": "4.4.8"
|
|
},
|
|
"devDependencies": {
|
|
"@types/sanitize-html": "2.16.2",
|
|
"nuxt": "4.4.8",
|
|
"typescript": "5.9.3",
|
|
"vue": "3.5.35"
|
|
}
|
|
}
|