https://github.com/xhostcomweb/vuewp-gridsome-scss-bootstrap
Vue JS Wordpress Gridsome starter with extra bits and SCSS enabled
https://github.com/xhostcomweb/vuewp-gridsome-scss-bootstrap
Last synced: 29 days ago
JSON representation
Vue JS Wordpress Gridsome starter with extra bits and SCSS enabled
- Host: GitHub
- URL: https://github.com/xhostcomweb/vuewp-gridsome-scss-bootstrap
- Owner: xhostcomweb
- Created: 2019-08-31T11:48:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T03:54:22.000Z (over 3 years ago)
- Last Synced: 2025-11-29T11:51:25.987Z (7 months ago)
- Language: CSS
- Size: 15 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vue JS Wordpress starter for Gridsome SASS-SCSS enabled
[](https://app.netlify.com/start/deploy?repository=https://github.com/gridsome/gridsome-starter-wordpress)
Sass/Scss version
Enabled for sass/scss in gridsome.config.js file
Uses 1 css file.
## Install & Todo
Install Gridsome first, then clone repo and run yarn.
Can swap out nav, header, footer for your own.
Just change nav and page templates to yours, header and footer in components folder.
4 pages made, Home, About, Blog/News and Contact
See main.js for imports, put extra plugins in index.js. DELETE index.html if not required but that currently pulls in Font Awesome 4.7 (usually for cdns/font awsome etc). Some extra assets in images and img folder, not used yet, and included original NPM and HtML files.
To do - Fix toggle on mobile button doesnt toggle
## Guide
Add your WordPress URL to the plugin options. Already done here, change to required field in gridsome.config and netlify.toml
```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, Home, About and News page.