NextJS docs unclear
Answered
Schweizer Laufhund posted this in #help-forum
Schweizer LaufhundOP
Current migrating from Vite
What is supposed to be the name of the directory? I can't mkdir or cd into a directory called [[...slug]] on linux.
Create a [[...slug]] directory in your app directory.
Since in this guide we're aiming first to set up our Next.js as an SPA (Single Page Application), you need your page entrypoint to catch all possible routes of your application. For that, create a new [[...slug]] directory in your app directory.What is supposed to be the name of the directory? I can't mkdir or cd into a directory called [[...slug]] on linux.
Answered by Clown
The name is supposed to be literally
On linux, iirc you can just use quotes
[[...slug]]On linux, iirc you can just use quotes
$ mkdir "[[...slug]]"2 Replies
The name is supposed to be literally
On linux, iirc you can just use quotes
[[...slug]]On linux, iirc you can just use quotes
$ mkdir "[[...slug]]"Answer
Schweizer LaufhundOP
Oh alright