diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..c2194e3 --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "baseUrl": ".", + "paths": { + "@/*": [ + "src/*" + ] + }, + }, +} diff --git a/pages/_app.js b/src/pages/_app.js similarity index 100% rename from pages/_app.js rename to src/pages/_app.js diff --git a/pages/api/hello.js b/src/pages/api/hello.js similarity index 100% rename from pages/api/hello.js rename to src/pages/api/hello.js diff --git a/pages/index.js b/src/pages/index.js similarity index 97% rename from pages/index.js rename to src/pages/index.js index 810709c..45441dd 100644 --- a/pages/index.js +++ b/src/pages/index.js @@ -1,5 +1,5 @@ import Head from 'next/head' -import styles from '../styles/Home.module.css' +import styles from '@/styles/Home.module.css' export default function Home() { return ( diff --git a/styles/Home.module.css b/src/styles/Home.module.css similarity index 100% rename from styles/Home.module.css rename to src/styles/Home.module.css diff --git a/styles/globals.css b/src/styles/globals.css similarity index 100% rename from styles/globals.css rename to src/styles/globals.css