Web development framework that generates static HTML files for hydration by Vue.js.
Questions tagged [gridsome]
184 questions
2
votes
0 answers
Gridsome page routes are now lower case
Gridsome changes the uppercase path of /Clients to the lowercase path /clients when its built.
This means that setting a router path will not work as the path is case sensitive:
this.$router.push('/Clients')
How can I avoid this? Is it webpack?…

Wally
- 705
- 1
- 9
- 24
2
votes
1 answer
Gridsome Pages API - pass object/array in context
I'm new to Gridsome (and GraphQL) and I'd like to build the following. I have a n-to-n relationship of Employees to Projects and would like to generate a page per employee, listing all the projects this employee worked on. I create the pages using…

dan
- 1,292
- 2
- 10
- 16
2
votes
1 answer
I am using gridsome, is there a better way to create a page for each category?
I use gridsome-source-mysql plugin to get data from MySQL.
The articles has more than 50 categories, I want to create a page for each category.
Now my code looks like this:
./src/components/Category01.vue file:
...
…

CearaWeir
- 33
- 2
2
votes
2 answers
TypeError when using Gridsome while building a Vue.js project
I'm using Vue.js and Gridsome to create a portfolio for myself. However, when I added a JSON file to contain my profile info in the site, I faced an issue. This is how I imported the file inside my Index.vue component: