https://github.com/nirtamir2/autocomplete-app
Example auto-complete modal app
https://github.com/nirtamir2/autocomplete-app
ant-design downshift next-page-transitions nextjs postcss-preset-env react-window styled-components use-presisted-state use-resize-observer
Last synced: 22 days ago
JSON representation
Example auto-complete modal app
- Host: GitHub
- URL: https://github.com/nirtamir2/autocomplete-app
- Owner: nirtamir2
- Created: 2020-08-08T09:22:24.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-09T22:10:31.000Z (almost 6 years ago)
- Last Synced: 2025-02-01T14:33:07.897Z (over 1 year ago)
- Topics: ant-design, downshift, next-page-transitions, nextjs, postcss-preset-env, react-window, styled-components, use-presisted-state, use-resize-observer
- Language: TypeScript
- Homepage: https://autocomplete-app.vercel.app/
- Size: 141 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TypeScript & Styled Components Next.js example
This is a really simple project that show the usage of Next.js with TypeScript and Styled Components.
## Deploy your own
Deploy the example using [Vercel](https://vercel.com):
[](https://vercel.com/import/project?template=https://github.com/vercel/next.js/tree/canary/examples/with-typescript-styled-components)
## How to use it?
### Using `create-next-app`
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash
npx create-next-app --example with-typescript-styled-components with-typescript-app
# or
yarn create next-app --example with-typescript-styled-components with-typescript-app
```
### Download manually
Download the example:
```bash
curl https://codeload.github.com/vercel/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-typescript-styled-components
cd with-typescript-styled-components
```
Install it and run:
```bash
npm install
npm run dev
# or
yarn
yarn dev
```
Deploy it to the cloud with [Vercel](https://vercel.com/import?filter=next.js&utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).
## Notes
This is an amalgamation of the 2 existing examples:
- [with-typescript](https://github.com/vercel/next.js/tree/canary/examples/with-typescript)
- [with-styled-components](https://github.com/vercel/next.js/tree/canary/examples/with-styled-components)