Look at the Nuxt 3 documentation to learn more.
You can download and update the environmental variables from the parameter store.
[development]
aws ssm get-parameter \
--region us-east-1 \
--name /new-leash-rescue/app/.env.development \
--profile newleashrescue \
--query Parameter.Value \
--with-decryption \
--output text > .env.development
aws ssm put-parameter \
--region us-east-1 \
--name /new-leash-rescue/app/.env.development \
--profile newleashrescue \
--value file://.env.development \
--type "SecureString" \
--overwrite
[production]
aws ssm get-parameter \
--region us-east-1 \
--name /new-leash-rescue/app/.env.production \
--profile ochofitnewleashrescueness \
--query Parameter.Value \
--with-decryption \
--output text > .env.production
aws ssm put-parameter \
--region us-east-1 \
--name /new-leash-rescue/app/.env.production \
--profile newleashrescue \
--value file://.env.production \
--type "SecureString" \
--overwrite
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
Check out the deployment documentation for more information.
Amplify Gen 2 collects anonymous telemetry data about general usage of the CLI.
Participation is optional, and you may opt-out by using npx ampx configure telemetry disable
.
To learn more about telemetry, visit https://docs.amplify.aws/gen2/reference/telemetry