diff --git a/.env.localhost b/.env.localhost new file mode 100644 index 0000000..226c340 --- /dev/null +++ b/.env.localhost @@ -0,0 +1,11 @@ +# Environment variables declared in this file are automatically made available to Prisma. +# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema + +# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. +# See the documentation for all the connection string options: https://pris.ly/d/connection-strings +VUE_APP_AUTH_HOST="http://localhost:2000" + +VUE_APP_TODO_HOST="http://localhost:3000" + +#LocalStorage는 Edge 브라우저의 개발툴 > 응용프로그램 > 로컬 저장소에서 확인가능 +VUE_APP_TABLE_DEFAULT_PERPAGE = 10 \ No newline at end of file diff --git a/package.json b/package.json index 65bc4ee..e9f0319 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,10 @@ "version": "0.1.0", "private": true, "scripts": { - "serve": "vue-cli-service serve", + "serve": "vue-cli-service serve --mode localhost", "build": "vue-cli-service build", - "lint": "vue-cli-service lint" + "lint": "vue-cli-service lint", + "prod": "vue-cli-service build --mode production" }, "dependencies": { "axios": "^0.27.2",