Skip to content

使用Vue3元框架Nuxt+Vite+TailwindCSS+Cloudflare开发的临时邮箱网站

License

Notifications You must be signed in to change notification settings

CtelSpecu/NuxtTempEmail

Repository files navigation

Nuxt Minimal Starter

Look at the Nuxt documentation to learn more.

Setup

Make sure to install dependencies:

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.

部署 email-worker

进入 email-worker 目录

cd server/workers/email-worker

登录 Cloudflare(如果尚未登录)

npx wrangler login

创建 KV 命名空间(如果尚未创建)

npx wrangler kv:namespace create "tempEmail"

修改 wrangler.toml 文件

将 KV 绑定名修改为 "tempEmail"(当前配置是 "temp-email")

使用刚才创建的 KV 命名空间 ID

部署 Worker

npx wrangler deploy

About

使用Vue3元框架Nuxt+Vite+TailwindCSS+Cloudflare开发的临时邮箱网站

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •