百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

nuxt3-auth-example

> 前端框架
开源

使用 Nuxt3 的简单身份验证系统示例

388 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

使用 Nuxt3 的简单身份验证系统示例

Nuxt 3 Auth example

This application is a simple example of how to implement a local authentication system using Nuxt.

Features

  • Login with email and password
  • ️ Guest, private and admin only pages
  • Keep user authenticated after page refresh

Setup

Make sure to install the dependencies:

bash
# yarn
yarn install

# npm
npm install

# pnpm
pnpm install --shamefully-hoist

Copy the .env.example file to .env and fill in the values.

bash
cp .env.example .env

Development Server

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

bash
npm run dev

Production

Build the application for production:

bash
npm run build

Locally preview production build:

bash
npm run preview

Checkout the deployment documentation for more information.

Credits

  • Nuxt
  • UnoCSS
  • The Copenhagen Book

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptauthauthenticationexamplenuxt

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架