hwd3527
@juwon76
Reviews Written
27
Average Rating
4.8
Posts
Q&A
Vuex ์ฌ์ฉํ์ฌ {{ ๋ฐ์ดํฐ }} ํ์์ ์๋ฌ ๋ฐ์ํฉ๋๋ค..
npm i vuex@3.6.2 --save ๋ก vuex๋ฅผ ๋ค์ ์ค์นํ์ธ์. ๋ฒ์ ์ด ์๋ง์์ ๊ทธ๋ฐ๊ฒ ๊ฐ์ต๋๋ค. (์์์ ์๋ง์ผ๋ก ์ ๋ฒ์ ์ ์ค์นํ๋ผ๊ณ ๋์ต๋๋ค)
- Likes
- 1
- Comments
- 2
- Viewcount
- 731
Q&A
userData?.Workspaces.map ํ์ ์๋ฌ๊ฐ ๋ฉ๋๋ค.
์ ๋ ๊ฐ์ ์๋ฌ๊ฐ ๋ฌ๋๋ฐ์. login/index.tsx์ mutate๋ฅผ ์ฃผ์ ์ฒ๋ฆฌํ๊ณ ๊ธฐ์กด์ revalidate๋ฅผ ํ์ฑํ ํ๋๊น ๋ฉ๋๋ค. ์ด๊ฒ ๋ง๋์ง๋ ๋ชจ๋ฅด๊ฒ ์ง๋ง์ axios.post('/api/users/login',{ email, password }, {withCredentials: true}) .then((response)=>{ revalidate(); //mutate(response.data, false); })
- Likes
- 0
- Comments
- 2
- Viewcount
- 208
Q&A
eslint ์ค์ ์ ๊ดํ์ฌ
package.json์ eslint๋ฅผ 5.14๋ก ๋ค์ด ๊ทธ๋ ์ด๋ํ๋๊น ๋ฉ๋๋ค. ๊ทธ๋ฐ๋ฐ ์ ๊ทธ๋ฐ์ง๋ ๋ชจ๋ฅด๊ฒ ์ต๋๋ค.
- Likes
- 1
- Comments
- 3
- Viewcount
- 933
Q&A
eslint ์ค์ ์ ๊ดํ์ฌ
VSCode์ Settings.json { "workbench.colorTheme": "Night Owl", "workbench.iconTheme": "material-icon-theme", "atomKeymap.promptV3Features": true, "editor.multiCursorModifier": "ctrlCmd", "editor.formatOnPaste": true, "workbench.startupEditor": "newUntitledFile", "emmet.includeLanguages": { "javascript": "javascriptreact" }, "eslint.validate": [ "vue", "javascript", "javascriptreact", "typescript", "typescriptreact", ], "editor.codeActionsOnSave": { "source.fixAll.eslint": true }, // don't format on save "editor.formatOnSave": false } "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe" } ESLint ์๋ฌ๋ก๊ทธ [Info - ์คํ 9:20:12] ESLint server is starting [Info - ์คํ 9:20:13] ESLint server running in node v12.14.1 [Info - ์คํ 9:20:13] ESLint server is running. [Info - ์คํ 9:20:16] ESLint library loaded from: D:\vue\typescript\quiz\1_todo\node_modules\eslint\lib\api.js [Error - ์คํ 9:20:16] Failed to load plugin '@typescript-eslint' declared in 'quiz\1_todo\.eslintrc.js': Cannot find module '@typescript-eslint/eslint-plugin' Require stack: - D:\vue\typescript\__placeholder__.js Referenced from: D:\vue\typescript\quiz\1_todo\.eslintrc.js Happened while validating D:\vue\typescript\quiz\1_todo\src\index.ts This can happen for a couple of reasons: 1. The plugin name is spelled incorrectly in an ESLint configuration file (e.g. .eslintrc). 2. If ESLint is installed globally, then make sure '@typescript-eslint/eslint-plugin' is installed globally as well. 3. If ESLint is installed locally, then '@typescript-eslint/eslint-plugin' isn't installed correctly. Consider running eslint --debug D:\vue\typescript\quiz\1_todo\src\index.ts from a terminal to obtain a trace about the configuration files used. ์ ๋๋ค. ๊ฐ์ฌํฉ๋๋ค.
- Likes
- 1
- Comments
- 3
- Viewcount
- 933
Q&A
์ฐ๋ฝ์ฒ ์ ๊ทผํ๊ธฐ์์
react-native-contacts ๋ฒ์ 5.X ๋๋ก ๋ฎ์ถฐ์ ํ๋๊น ๋ฉ๋๋ค.~~
- Likes
- 0
- Comments
- 2
- Viewcount
- 597
Q&A
๊ฒ์๊ธ ๋ถ๋ฌ์ค๊ธฐํ ๋ ์๋ฌ๋ ์๋๋ฐ then ์ดํ๋ก ์คํ์ด ์๋์์ฌ
async loadPosts({ commit, state }, payload) { if(state.hasMorePost) { try { const res = await this.$axios.get(`http://localhost:3085/posts?offset=${state.mainPosts.length}&limit=10`); commit('loadPosts', res.data); } catch (err) { console.error(err); } } }, ์ ๋ ์ด๋ ๊ฒ ์์ ํด์ ํด๊ฒฐํ์ต๋๋ค๋ง... ๋๊ฐ์ ์ง๋ฌธ์ด ๊ณ์ ์ฌ๋ผ์ค๋ค์;;
- Likes
- 0
- Comments
- 4
- Viewcount
- 334
Q&A
๊ฒ์๋ฌผ์ด ๋ก๋๊ฐ ์ ๋๋๊ฒ ๊ฐ์์
front/store/posts.js/actions loadPosts({ commit, state }, payload ) { if(state.hasMorePost) { this.$axios.get(`/posts?offset=${state.mainPosts.length}&limit=10`) .then((res) => { commit('loadPosts', res.data); }) .catch((err) => { console.error(err); }); } }, ์ด ๋ถ๋ถ์ ์ ๋ ์ด๋ ๊ฒ ๋ฐ๊พธ๋๊น ๋๋๋ฐ์. ํ์คํ๊ฑด์ง๋ ๋ชจ๋ฅด๊ฒ ์ง๋ง;; async loadPosts({ commit, state }, payload) { if(state.hasMorePost) { try { const res = await this.$axios.get(`/posts?offset=${state.mainPosts.length}&limit=10`); commit('loadPosts', res.data); } catch (err) { console.error(err); } } },
- Likes
- 0
- Comments
- 6
- Viewcount
- 426
Q&A
project ์์ฑ๋ฌธ์
๋ต๋ณ ๊ฐ์ฌํฉ๋๋ค. ์ ์๋. ๋ง์๋๋ก cocos2d๋ฅผ ์ฌ๋ฌ๋ฒ ๋ค์ ์ค์นํ๋๋ฐ ๊ฐ์ ์๋ฌ๊ฐ ๋ํ๋ฌ์ต๋๋ค. ํ์ฌ ์ ์ด์์ฒด์ ๋ windows10์ด๊ตฌ์. cocos2d-x 4.0์ ์ค์นํ์ต๋๋ค.
- Likes
- 0
- Comments
- 5
- Viewcount
- 439




