64 | );
65 | };
66 |
67 | export default Home;
68 |
--------------------------------------------------------------------------------
/packages/example-ssr/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ronaldtech051/React-Youtube/98136b0b7db3db9ae764de647b89301980dccce4/packages/example-ssr/public/favicon.ico
--------------------------------------------------------------------------------
/packages/example-ssr/styles/globals.css:
--------------------------------------------------------------------------------
1 | #app {
2 | font-family: sans-serif;
3 | display: flex;
4 | align-items: center;
5 | flex-direction: column;
6 | }
7 |
--------------------------------------------------------------------------------
/packages/example-ssr/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es5",
4 | "lib": ["dom", "dom.iterable", "esnext"],
5 | "allowJs": true,
6 | "skipLibCheck": true,
7 | "strict": true,
8 | "forceConsistentCasingInFileNames": true,
9 | "noEmit": true,
10 | "esModuleInterop": true,
11 | "module": "esnext",
12 | "moduleResolution": "node",
13 | "resolveJsonModule": true,
14 | "isolatedModules": true,
15 | "jsx": "preserve",
16 | "incremental": true
17 | },
18 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
19 | "exclude": ["node_modules"]
20 | }
21 |
--------------------------------------------------------------------------------
/packages/example/README.md:
--------------------------------------------------------------------------------
1 | # react-youtube example
2 |
3 | Run with NPM:
4 |
5 | ```bash
6 | npm run dev
7 | ```
8 |
9 | or with Yarn:
10 |
11 | ```bash
12 | yarn dev
13 | ```
14 |
--------------------------------------------------------------------------------
/packages/example/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |