From 23ab22b8247956f8ffb69429f0e3436d1ac2e20f Mon Sep 17 00:00:00 2001 From: Evan Date: Thu, 4 Apr 2024 19:46:55 +0900 Subject: [PATCH] env --- README.md | 78 ++++-------------------- .env.development => env/.env.development | 0 .env.production => env/.env.production | 0 3 files changed, 12 insertions(+), 66 deletions(-) rename .env.development => env/.env.development (100%) rename .env.production => env/.env.production (100%) diff --git a/README.md b/README.md index f5db2a2..33733ba 100644 --- a/README.md +++ b/README.md @@ -1,75 +1,21 @@ -# Nuxt 3 Minimal Starter - -Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. - -## Setup - -Make sure to install the dependencies: - -```bash -# npm -npm install - -# pnpm -pnpm install - -# yarn -yarn install - -# bun -bun install +# how to run ``` - -## Development Server - -Start the development server on `http://localhost:3000`: - -```bash -# npm -npm run dev - -# pnpm +pnpm install +copy env/.env.development .env pnpm run dev - -# yarn -yarn dev - -# bun -bun run dev ``` -## Production - -Build the application for production: - -```bash -# npm -npm run build - -# pnpm +# how to build server +``` pnpm run build - -# yarn -yarn build - -# bun -bun run build ``` -Locally preview production build: - -```bash -# npm -npm run preview - -# pnpm -pnpm run preview - -# yarn -yarn preview - -# bun -bun run preview +# how to build static files +``` +pnpm run delopy ``` -Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. +# how to run server +``` +http://localhost:3000 +``` \ No newline at end of file diff --git a/.env.development b/env/.env.development similarity index 100% rename from .env.development rename to env/.env.development diff --git a/.env.production b/env/.env.production similarity index 100% rename from .env.production rename to env/.env.production