https://github.com/xhostcomweb/vue-uikit-wp
Vue UIKit Starter with Gridsome
https://github.com/xhostcomweb/vue-uikit-wp
Last synced: 4 months ago
JSON representation
Vue UIKit Starter with Gridsome
- Host: GitHub
- URL: https://github.com/xhostcomweb/vue-uikit-wp
- Owner: xhostcomweb
- Created: 2019-08-21T22:18:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T02:49:19.000Z (over 3 years ago)
- Last Synced: 2025-03-02T10:14:27.084Z (over 1 year ago)
- Language: HTML
- Size: 3.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue UIKit Wordpress Gridsome
[](https://app.netlify.com/start/deploy?repository=https://github.com/gridsome/gridsome-starter-wordpress)
## Install
`gridsome create my-gridsome-project wordpress`
## Guide & ToDo
error
Fix build problem below seems to be jquery
Failed to render /about
TypeError: Cannot read property 'document' of undefined
at assets/js/app.893948e0.js:4736:13
at assets/js/app.893948e0.js:4725:7
at Object. (src/assets/js/jquery.js:2:212)
at Object.module.exports.module.exports (assets/js/app.893948e0.js:8557:30)
at __webpack_require__ (webpack/bootstrap:25:0)
at Module. (assets/js/app.893948e0.js:10565:14)
at __webpack_require__ (webpack/bootstrap:25:0)
at Module. (node_modules/gridsome/app/main.js:4:9)
at __webpack_require__ (webpack/bootstrap:25:0)
at Object.module.exports.module.exports (assets/js/app.893948e0.js:3544:18)
Add your WordPress URL to the plugin options, runs dev server fine.
```js
// gridsome.config.js
module.exports = {
plugins: [
{
use: '@gridsome/source-wordpress',
options: {
baseUrl: 'YOUR_WEBSITE_URL', // required
typeName: 'WordPress', // GraphQL schema name (Optional)
routes: {
post: '/:year/:month/:day/:slug', //adds route for "post" post type (Optional)
post_tag: '/tag/:slug' // adds route for "post_tag" post type (Optional)
}
}
}
]
}
```
See all [options](https://gridsome.org/plugins/@gridsome/source-wordpress).
## Included templates
This starter includes basic templates for categories, tags and posts.