Commit 6997af53 authored by Tim Neutkens's avatar Tim Neutkens

create-next-app: enable typedRoutes by default for TypeScript

parent 06421057
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
}; };
export default nextConfig; export default nextConfig;
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
}; };
export default nextConfig; export default nextConfig;
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
}; };
export default nextConfig; export default nextConfig;
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
}; };
export default nextConfig; export default nextConfig;
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
}; };
export default nextConfig; export default nextConfig;
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
reactStrictMode: true, reactStrictMode: true,
}; };
......
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
reactStrictMode: true, reactStrictMode: true,
}; };
......
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
reactStrictMode: true, reactStrictMode: true,
}; };
......
...@@ -2,6 +2,7 @@ import type { NextConfig } from "next"; ...@@ -2,6 +2,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = { const nextConfig: NextConfig = {
/* config options here */ /* config options here */
typedRoutes: true,
reactStrictMode: true, reactStrictMode: true,
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment