Skip to content

Add nuxt example app #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
7e34f1a
up version to 1.0.0-preview.1 (#20)
Eskibear Oct 24, 2023
838d5ea
Merge pull request #30 from Azure/main
Eskibear Dec 14, 2023
36a89ad
Update version to 1.0.0-preview.2 (#34)
Eskibear Dec 14, 2023
f86cad2
Merge pull request #50 from Azure/main
Eskibear Mar 21, 2024
a034dc9
Update version to 1.0.0-preview.3 (#51)
Eskibear Mar 21, 2024
0939e7a
Merge branch 'main' into release/preview/v1
Eskibear Apr 10, 2024
5522a85
Update version to 1.0.0-preview.4 (#58)
Eskibear Apr 10, 2024
11e446e
Update version to 1.0.0 (#66)
Eskibear May 29, 2024
3f5c95d
Merge branch 'release/stable/v1' into yanzh/merge-main-to-release
Eskibear Jul 25, 2024
0996a45
Merge pull request #83 from Azure/yanzh/merge-main-to-release
Eskibear Jul 26, 2024
e0e5843
Update version to 1.0.1 (#84)
Eskibear Jul 26, 2024
a1a5340
Merge remote-tracking branch 'origin/main' into release/v1
Eskibear Aug 13, 2024
f2ddbb3
resolve conflict
zhiyuanliang-ms Aug 16, 2024
b57cb8a
Update linting rule to enforce to use semicolon (#91)
zhiyuanliang-ms Aug 20, 2024
7e9a312
use isRestError API (#94)
zhiyuanliang-ms Sep 13, 2024
e9db70a
Make testsuite compatible with node 22.x (#96)
zhiyuanliang-ms Sep 14, 2024
39cebdb
Adds additional undefined check (#104)
rossgrambo Sep 30, 2024
0d6f99c
add js file extension to imports (#109)
zhiyuanliang-ms Oct 17, 2024
af6a3d0
update typescript version (#112)
zhiyuanliang-ms Oct 22, 2024
b9ed65d
add requestTracingOptions (#114)
zhiyuanliang-ms Oct 24, 2024
477e48c
update
linglingye001 Oct 24, 2024
bd354a9
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
linglingye001 Oct 25, 2024
21e963b
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
linglingye001 Jan 17, 2025
6c2723a
add nuxt example app
linglingye001 Jan 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions examples/nuxt-vue-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
75 changes: 75 additions & 0 deletions examples/nuxt-vue-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Nuxt Minimal Starter

Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

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

```bash
# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
6 changes: 6 additions & 0 deletions examples/nuxt-vue-app/app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<template>
<div>
<NuxtRouteAnnouncer />
<NuxtPage />
</div>
</template>
5 changes: 5 additions & 0 deletions examples/nuxt-vue-app/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-11-01',
devtools: { enabled: true }
})
Loading
Loading