├── .gitignore ├── .prettierrc ├── README.md ├── babel.config.js ├── controllers └── index.tsx ├── layouts └── index.tsx ├── next.config.js ├── nodemon.json ├── package.json ├── pages ├── _document.tsx └── index.tsx ├── router ├── createRoute.ts └── pattern.json ├── server.ts ├── src └── app.tsx ├── static ├── manifest │ ├── launcher-icon.png │ ├── launcher-icon@2x.png │ ├── launcher-icon@4x.png │ └── manifest.json └── styles │ └── default.css ├── template-generator ├── generate_new_page.ts └── templates │ ├── controller.template │ ├── layout.template │ └── page.template ├── tsconfig.json ├── tsconfig.server.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | dist 4 | 5 | .next -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/.prettierrc -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/README.md -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/babel.config.js -------------------------------------------------------------------------------- /controllers/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/controllers/index.tsx -------------------------------------------------------------------------------- /layouts/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/layouts/index.tsx -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/next.config.js -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/package.json -------------------------------------------------------------------------------- /pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/pages/_document.tsx -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- 1 | export { default } from '@controllers/index' 2 | -------------------------------------------------------------------------------- /router/createRoute.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /router/pattern.json: -------------------------------------------------------------------------------- 1 | { 2 | "patterns": [] 3 | } 4 | -------------------------------------------------------------------------------- /server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/server.ts -------------------------------------------------------------------------------- /src/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/src/app.tsx -------------------------------------------------------------------------------- /static/manifest/launcher-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/static/manifest/launcher-icon.png -------------------------------------------------------------------------------- /static/manifest/launcher-icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/static/manifest/launcher-icon@2x.png -------------------------------------------------------------------------------- /static/manifest/launcher-icon@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/static/manifest/launcher-icon@4x.png -------------------------------------------------------------------------------- /static/manifest/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/static/manifest/manifest.json -------------------------------------------------------------------------------- /static/styles/default.css: -------------------------------------------------------------------------------- 1 | html, 2 | body { 3 | font-size: 14px; 4 | } -------------------------------------------------------------------------------- /template-generator/generate_new_page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/template-generator/generate_new_page.ts -------------------------------------------------------------------------------- /template-generator/templates/controller.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/template-generator/templates/controller.template -------------------------------------------------------------------------------- /template-generator/templates/layout.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/template-generator/templates/layout.template -------------------------------------------------------------------------------- /template-generator/templates/page.template: -------------------------------------------------------------------------------- 1 | export { default } from '@controllers/__PATH__' 2 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.server.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/tsconfig.server.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ryohlan/next-ts-template/HEAD/yarn.lock --------------------------------------------------------------------------------