├── .gitignore
├── LICENSE
├── README.md
├── components
└── component.tsx
├── next-env.d.ts
├── next.config.js
├── now.json
├── package-lock.json
├── package.json
├── pages
├── _document.tsx
└── index.tsx
├── postcss.config.js
├── public
├── favicon.ico
├── robots.txt
└── static
│ ├── icon-192.png
│ ├── icon-512.png
│ └── manifest.json
├── styles
└── index.css
├── tailwind.config.js
├── tsconfig.json
└── tslint.json
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # production
12 | /build
13 |
14 | # misc
15 | .DS_Store
16 | .env.local
17 | .env.development.local
18 | .env.test.local
19 | .env.production.local
20 |
21 | npm-debug.log*
22 | yarn-debug.log*
23 | yarn-error.log*
24 |
25 | # next
26 | /.next
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 xDecus
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | A ready-to-go starter for creating Single Page Applications with React, Next.js, Typescript and Tailwind.css
2 |
3 | Readily configured to purge unneeded tailwind styles when building for production.
4 |
5 | Fully supports the PWA standard and installs a service worker when conditions are met.
6 |
7 | Scores 100 in every lighthouse audit.
8 |
9 | Preconfigured to be deployed to Zeit Now (also with PWA support there!)
10 |
11 | Have fun!
12 |
--------------------------------------------------------------------------------
/components/component.tsx:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | export default function Component() {
4 | return