seungddak
@seungddak
Reviews Written
3
Average Rating
5.0
Posts
Q&A
[7๊ฐ] ํ์ผ ๊ฒฝ๋ก ๋ฌธ์ ์ง๋ฌธ ๋ค๋ฆฝ๋๋ค. TS2769 : No overload matches this call.
๋ต๋ณ ๊ฐ์ฌ๋๋ฆฝ๋๋ค.~ ๋ณต๋ฐ์ผ์ธ์
- Likes
- 0
- Comments
- 5
- Viewcount
- 2.4K
Q&A
[7๊ฐ] ํ์ผ ๊ฒฝ๋ก ๋ฌธ์ ์ง๋ฌธ ๋ค๋ฆฝ๋๋ค. TS2769 : No overload matches this call.
import path from 'path'; import ReactRefreshWebpackPlugin from '@pmmmwh/react-refresh-webpack-plugin'; import webpack from 'webpack'; import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin'; const isDevelopment = process.env.NODE_ENV !== 'production'; const config: webpack.Configuration = { name: 'sleact', mode: isDevelopment ? 'development' : 'production', devtool: isDevelopment ? 'hidden-source-map' : 'inline-source-map', resolve: { extensions: ['.js', '.jsx', '.ts', '.tsx', '.json'], alias: { '@hooks': path.resolve(__dirname, 'hooks'), '@components': path.resolve(__dirname, 'components'), '@layouts': path.resolve(__dirname, 'layouts'), '@pages': path.resolve(__dirname, 'pages'), '@utils': path.resolve(__dirname, 'utils'), '@typings': path.resolve(__dirname, 'typings'), }, }, entry: { app: './client', }, module: { rules: [ { test: /\.tsx?$/, loader: 'babel-loader', options: { presets: [ [ '@babel/preset-env', { targets: { browsers: ['last 2 chrome versions'] }, debug: isDevelopment, }, ], '@babel/preset-react', '@babel/preset-typescript', ], env: { development: { plugins: [require.resolve('react-refresh/babel')], }, }, }, exclude: path.join(__dirname, 'node_modules'), }, { test: /\.css?$/, use: ['style-loader', 'css-loader'], }, ], }, plugins: [ new ForkTsCheckerWebpackPlugin({ async: false, // eslint: { // files: "./src/**/*", // }, }), new webpack.EnvironmentPlugin({ NODE_ENV: isDevelopment ? 'development' : 'production' }), ], output: { path: path.join(__dirname, 'dist'), filename: '[name].js', publicPath: '/dist/', }, devServer: { historyApiFallback: true, port: 3090, publicPath: '/dist/', }, }; if (isDevelopment && config.plugins) { config.plugins.push(new webpack.HotModuleReplacementPlugin()); config.plugins.push(new ReactRefreshWebpackPlugin()); } if (!isDevelopment && config.plugins) { } export default config;
- Likes
- 0
- Comments
- 5
- Viewcount
- 2.4K
Q&A
[7๊ฐ] ํ์ผ ๊ฒฝ๋ก ๋ฌธ์ ์ง๋ฌธ ๋ค๋ฆฝ๋๋ค. TS2769 : No overload matches this call.
import React ,{useState,useCallback}from 'react' import {Link, Redirect} from "react-router-dom" import {Header,Form,Label,Input,Button,LinkContainer,Error,Success} from "./styles" const SignUp = () => { const [email]=useState("") const [nickname]=useState("") const [password]=useState("") const [passwordCheck]=useState("") const onSubmit = useCallback(()=>{},[]) const onChangeEmail = useCallback(()=>{},[]) const onChangeNickname = useCallback(()=>{},[]) const onChangePassword = useCallback(()=>{},[]) const onChangePasswordCheck = useCallback(()=>{},[]) return Sleact ์ด๋ฉ์ผ ์ฃผ์ ๋๋ค์ ๋น๋ฐ๋ฒํธ ๋น๋ฐ๋ฒํธ ํ์ธ {/* {mismatchError && ๋น๋ฐ๋ฒํธ๊ฐ ์ผ์นํ์ง ์์ต๋๋ค.} {!nickname && ๋๋ค์์ ์ ๋ ฅํด์ฃผ์ธ์.} {signUpError && {signUpError}} {signUpSuccess && ํ์๊ฐ์ ๋์์ต๋๋ค! ๋ก๊ทธ์ธํด์ฃผ์ธ์.} */} ํ์๊ฐ์ ์ด๋ฏธ ํ์์ด์ ๊ฐ์? ๋ก๊ทธ์ธ ํ๋ฌ๊ฐ๊ธฐ } export default SignUp
- Likes
- 0
- Comments
- 5
- Viewcount
- 2.4K
Q&A
[1๊ฐ ] ๋ฐฑ์๋ mysql ์ฐ๊ฒฐ์ด ์๋ฉ๋๋ค.
์ ์์์ ๋ฌธ์ ์๋ค์ npx sequelize db:create ํ๊ณ npm run dev ๋ฅผ ํด์ค๋ค์์ npx sequelize db:seed:all ํด์ค์ผ ๋๋ ๊ฑฐ์๋ค์ ํ ์ด๋ธ์ ๋ง๋ค์ด ์ฃผ๋๊ฒ npm run dev ๋ผ๊ณ ์ค๋ช ํด์ฃผ์ จ์๋ค์... ์์ค
- Likes
- 0
- Comments
- 1
- Viewcount
- 531




