diff --git "a/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/.gitignore" "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/.gitignore" new file mode 100644 index 0000000..19862e3 --- /dev/null +++ "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/.gitignore" @@ -0,0 +1,25 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.env +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git "a/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/README.md" "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/README.md" new file mode 100644 index 0000000..f768e33 --- /dev/null +++ "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/README.md" @@ -0,0 +1,8 @@ +# React + Vite + +This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. + +Currently, two official plugins are available: + +- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh +- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh diff --git "a/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/eslint.config.js" "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/eslint.config.js" new file mode 100644 index 0000000..238d2e4 --- /dev/null +++ "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/eslint.config.js" @@ -0,0 +1,38 @@ +import js from '@eslint/js' +import globals from 'globals' +import react from 'eslint-plugin-react' +import reactHooks from 'eslint-plugin-react-hooks' +import reactRefresh from 'eslint-plugin-react-refresh' + +export default [ + { ignores: ['dist'] }, + { + files: ['**/*.{js,jsx}'], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + parserOptions: { + ecmaVersion: 'latest', + ecmaFeatures: { jsx: true }, + sourceType: 'module', + }, + }, + settings: { react: { version: '18.3' } }, + plugins: { + react, + 'react-hooks': reactHooks, + 'react-refresh': reactRefresh, + }, + rules: { + ...js.configs.recommended.rules, + ...react.configs.recommended.rules, + ...react.configs['jsx-runtime'].rules, + ...reactHooks.configs.recommended.rules, + 'react/jsx-no-target-blank': 'off', + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, + }, +] diff --git "a/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/index.html" "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/index.html" new file mode 100644 index 0000000..0c589ec --- /dev/null +++ "b/\353\260\215\353\266\225-\352\271\200\353\257\274\354\204\234/4\354\243\274\354\260\250+5\354\243\274\354\260\250 \353\257\270\354\205\230 \353\260\215\353\266\225/index.html" @@ -0,0 +1,13 @@ + + +
+ + + +평균 {voteAverage}
+{releaseDate}
+{runTime}분
+{userEmail}님 반갑습니다
+ + > + ) : ( + <> + + + + + + + > + )} +평균 {voteAverage}
+{releaseDate}
+{runTime}분
+{userEmail}님 반갑습니다
+ + > + ) : ( + <> + + + + + + + > + )} +평균 {voteAverage}
+{releaseDate}
+{runTime}분
+