I go to -> /examplesand run vuepress dev to get my 404 page
I am confused as to what purpose some files serve and this all seems very half-assed to me or maybe i'm just missing something.
The confusion is set from firstly
config.js
this basically wants to require.resolve something out in the root folder id guess the Index.js?
why wouldn't you just put the configuration, into the configuration file, not have them separately.
But the main problem i think is is the GlobalLayout.vue, my 404 page shows neatly with the general styling and everything, but since there is no component folder, where should this component be coming from? how does this work?
Hi!
I've been trying to setup the project but so far I've only gotten as far as a 404 with the default layout and everything.
the steps ive taken:
npm install
vuepress build examples
/examples/.vuepress/theme/layouts
_posts
toexamples
My folder structure looks like this right now:
I go to ->
/examples
and runvuepress dev
to get my404 page
I am confused as to what purpose some files serve and this all seems very half-assed to me or maybe i'm just missing something.
The confusion is set from firstly
config.js
this basically wants torequire.resolve
something out in the root folder id guess the Index.js? why wouldn't you just put the configuration, into the configuration file, not have them separately.But the main problem i think is is the
GlobalLayout.vue
, my 404 page shows neatly with the general styling and everything, but since there is no component folder, where should this component be coming from? how does this work?