[Node.js, Vue.js] 개발 환경에 따른 .env 설정
[Node.js] node.js로 개발 환경과 배포 환경 설정하기. 우선 package.json에서 "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "start": "node src/index.js", "develop": "NODE_ENV=develop node src/index.js", "production": "NODE_ENV=production node src/index.js " }, 환경: NODE_ENV=환경(develop, production) node src/index.js 설정후 터미널에서 "npm run 환경" 이렇게 명령어를 입력하면, process.env.NODE_ENV 가 원하는 환경으로 설정된다. 주의 할점은..
백엔드
2023. 6. 8. 14:24
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- webpack glsl
- eslint
- vue3
- next.js import glsl
- 394 decode string
- 394. decode string js
- vue ref
- react 3d
- react three fiber
- vue
- react three fiber leva
- [leetcode] 394. decode string js
- vue react
- leva
- [leetcode] 394. decode string
- react glsl
- 394. decode string javascript
- Vue.js
- react 3d 에니메이션
- vue reactive
- ts glsl
- react 3d animation
- react 3d text
- react leva
- typescript gsls
- attempted import error: bvh_struct_definitions' is not exported from './gpu/bvhshaderglsl.js' (imported as 'bvhshaderglsl').
- react vue
- react fiber 3d
- react ref reative
- three.js leva
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함