gridsome / gridsome-starter-markdown-blog Goto Github PK
View Code? Open in Web Editor NEWMarkdown blog starter for Gridsome
License: MIT License
Markdown blog starter for Gridsome
License: MIT License
By default in this starter images are loaded via an <img>
tag, loosing one of Gridsome's best features as a result.
Swapping to a <g-image/>
like bellow results in the following error:
<g-image :src="$page.blogPost.fields.image" :size="600"/>
[Vue warn]: Invalid prop: type check failed for prop "src".
Expected Object, got String with value "images/imat-bagja-gumilar-518288-unsplash.jpg".
Are their any upto dates examples for blog starters? @mittalyashu
"dependencies": {
"@gridsome/source-filesystem": "^0.6.2",
"@gridsome/transformer-remark": "^0.6.4",
"gh-pages": "^5.0.0",
"gridsome": "^0.7.0"
}
ERROR Failed to compile with 1 errors 10:07:54 PM
error in ./src/pages/Index.vue?vue&type=custom&index=0&blockType=page-query
Module build failed (from ./node_modules/gridsome/lib/plugins/vue-components/lib/loaders/page-query.js):
Error: Cannot query field "_id" on type "BlogPost". Did you mean "id"?
GraphQL request:6:9
5 | node {
6 | _id
| ^
7 | title
at Object.module.exports (/Users/abhi/Desktop/gridsome-starter-markdown-blog/node_modules/gridsome/lib/plugins/vue-components/lib/loaders/page-query.js:33:23)
@ ./src/pages/Index.vue?vue&type=custom&index=0&blockType=page-query 1:0-331 1:347-350 1:352-680 1:352-680
@ ./src/pages/Index.vue
@ ./src/.temp/routes.js
@ ./node_modules/gridsome/app/router.js
@ ./node_modules/gridsome/app/entry.sockjs.js
@ multi webpack/hot/dev-server webpack-hot-middleware/client?name=app&reload=true&noInfo=true ./node_modules/gridsome/app/entry.client.js ./node_modules/gridsome/app/entry.sockjs.js
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.