#NextJS docs unclear

5 messages · Page 1 of 1 (latest)

glacial burrow
#

Current migrating from Vite

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.
frail magnetBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

glacial burrow
#

NextJS docs unclear

jovial rune
#

The name is supposed to be literally [[...slug]]

On linux, iirc you can just use quotes

$ mkdir "[[...slug]]"
glacial burrow
#

Oh alright