
# Purpose

The current search is on tags , titles etc.  I want to search the entire file content.  This is a plugin that does the following

- extend page by setting page.pagecontent to the page._content ( not available to Search plugin )
- modify the match-query.js to search on page._content instead of tags/titles/headers

# Module info

Name of package : vuepress-plugin-pagedata".  Install via inside the docker exec

cd /vp
npm install --save-dev /vp/docs/.vuepress/plugins/pageData

verify package.json

```
  "devDependencies": {
    "vuepress-plugin-pagedata": "file:docs/.vuepress/plugins/pageData"
  },
```

add this to .vuepress/config.js

```
plugins: [
		[ "pagedata" , { car : 'mercedes' } ]
	]
```

Verify that module is loaded on npm run docs:dev console.