Question: How would could I change the directory path for pages
See original GitHub issueHello
Firstly, thanks for putting in the time to make such an awesome toolchain, after much searching, Im actually liking your wee setup, its brilliant. Currently modding mine to the lastest react 18 and seeing if the new SSR implementation works.
Thing is I would like to change the location of the pages folder from ./pages/
to ./src/pages/
The setup I tend to use is similar to the CRA struc, (it kinda stuck with me)
./
- node_modules
- build/dist
- public //static
- src
- src/App/App.js etc
- src/Components/UIComponents
- src/Pages/ <- This is where I would like him,
Is that at all possible??
Many Thanks bud,
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to change directory in Linux using cd command - nixCraft
How can I change a directory or folder in Linux? You need to use the cd command to move from your present directory...
Read more >How to set relative path to current folder? - html - Stack Overflow
Is it possible to create a relative link on this page that points to http://example.com/folder/ without specifying folder anywhere? (And using ...
Read more >File path formats on Windows systems | Microsoft Learn
Any thread can change the current directory at any time. Starting with .NET Core 2.1, you can call the Path.GetFullPath(String, String) method ...
Read more >16.6 The working directory for R code chunks | R Markdown ...
Sometimes you may want to use another directory as the working directory. The usual way to change the working directory is setwd() ,...
Read more >Navigating Files and Directories – The Unix Shell - Our Lessons
Use options and arguments to change the behaviour of a shell command. ... The home directory path will look different on different operating...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @aFuzzyBear
Yes, simply
mv pages/ src/
. (The Filesystem Router uses the common ancestor directory as root.)I’m interested in playing around with React Server Components. Is that something you’d be interested in exploring? I’d gladly accept a PR for an example
/examples/react-server-components/
😊.@Dema See https://github.com/brillout/vite-plugin-ssr/issues/94