-
-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
future revert "migrate /examples/file-structure-domain-driven/ to V1 …
…design"
- Loading branch information
Showing
14 changed files
with
25 additions
and
27 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...main-driven-v1/auth/pages/login/+Page.jsx → ...driven-v1/auth/pages/login/index.page.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export default Page | ||
|
||
import React from 'react' | ||
|
||
export { Page } | ||
|
||
function Page() { | ||
return <>Login page</> | ||
} |
4 changes: 2 additions & 2 deletions
4
...ain-driven-v1/auth/pages/signup/+Page.jsx → ...riven-v1/auth/pages/signup/index.page.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export default Page | ||
|
||
import React from 'react' | ||
|
||
export { Page } | ||
|
||
function Page() { | ||
return <>Signup page</> | ||
} |
3 changes: 0 additions & 3 deletions
3
examples/file-structure-domain-driven-v1/marketing/+config.js
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
examples/file-structure-domain-driven-v1/marketing/_default.page.route.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const filesystemRoutingRoot = '/' |
4 changes: 2 additions & 2 deletions
4
...driven-v1/marketing/pages/about/+Page.jsx → ...n-v1/marketing/pages/about/index.page.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export default Page | ||
|
||
import React from 'react' | ||
|
||
export { Page } | ||
|
||
function Page() { | ||
return <>About page</> | ||
} |
4 changes: 2 additions & 2 deletions
4
...driven-v1/marketing/pages/index/+Page.jsx → ...n-v1/marketing/pages/index/index.page.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export default Page | ||
|
||
import React from 'react' | ||
|
||
export { Page } | ||
|
||
function Page() { | ||
return <>Welcome</> | ||
} |
4 changes: 2 additions & 2 deletions
4
...n-driven-v1/product/pages/index/+Page.jsx → ...ven-v1/product/pages/index/index.page.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export default Page | ||
|
||
import React from 'react' | ||
|
||
export { Page } | ||
|
||
function Page({ routeParams }) { | ||
return <>Product {routeParams.productId}</> | ||
} |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...in-driven-v1/product/pages/list/+Page.jsx → ...iven-v1/product/pages/list/index.page.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export default Page | ||
|
||
import React from 'react' | ||
|
||
export { Page } | ||
|
||
function Page() { | ||
return ( | ||
<> | ||
|
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...uct/pages/list/+onBeforePrerenderStart.js → ...1/product/pages/list/index.page.server.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export default onBeforePrerenderStart | ||
export { prerender } | ||
|
||
function onBeforePrerenderStart() { | ||
function prerender() { | ||
return [{ url: '/product/starship', url: '/product/mac-studio', url: '/product/แจ็คเก็ตเดนิม' }] | ||
} |
This file was deleted.
Oops, something went wrong.
6 changes: 4 additions & 2 deletions
6
...in-driven-v1/renderer/+onRenderClient.jsx → ...iven-v1/renderer/_default.page.client.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
...main-driven-v1/renderer/+onRenderHtml.jsx → ...iven-v1/renderer/_default.page.server.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters