Skip to content

Commit

Permalink
docs: add content
Browse files Browse the repository at this point in the history
  • Loading branch information
huang-julien authored Sep 21, 2024
1 parent 943f55c commit d699dec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 92 deletions.
31 changes: 8 additions & 23 deletions docs/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,20 @@ export default defineAppConfig({
search: true,
colorMode: true,
links: [{
'icon': 'i-simple-icons-github',
'to': 'https://github.com/nuxt-ui-pro/docs',
'target': '_blank',
'aria-label': 'Docs template on GitHub'
icon: 'i-simple-icons-github',
to: 'https://github.com/huang-julien/nuxt-applicationinsights',
target: '_blank',
'aria-label': 'Nuxt applicationinsights github'
}]
},
footer: {
credits: 'Copyright © 2024',
colorMode: false,
links: [{
'icon': 'i-simple-icons-nuxtdotjs',
'to': 'https://nuxt.com',
'target': '_blank',
'aria-label': 'Nuxt Website'
}, {
'icon': 'i-simple-icons-discord',
'to': 'https://discord.com/invite/ps2h6QT',
'target': '_blank',
'aria-label': 'Nuxt UI on Discord'
}, {
'icon': 'i-simple-icons-x',
'to': 'https://x.com/nuxt_js',
'target': '_blank',
'aria-label': 'Nuxt on X'
}, {
'icon': 'i-simple-icons-github',
'to': 'https://github.com/nuxt/ui',
'target': '_blank',
'aria-label': 'Nuxt UI on GitHub'
text: 'i-simple-icons-github',
to: 'https://github.com/huang-julien/nuxt-applicationinsights',
target: '_blank',
'aria-label': 'Nuxt applicationinsights github'
}]
},
toc: {
Expand Down
51 changes: 5 additions & 46 deletions docs/content/1.getting-started/1.index.md
Original file line number Diff line number Diff line change
@@ -1,53 +1,12 @@
---
title: Introduction
description: Welcome to Nuxt UI Pro documentation template.
description: Welcome to nuxt-applicationinsights documentation
---

This template is a ready-to-use documentation template made with [Nuxt UI Pro](https://ui.nuxt.com/pro), a collection of premium components built on top of [Nuxt UI](https://ui.nuxt.com) to create beautiful & responsive Nuxt applications in minutes.

There are already many websites based on this template:

- [Nuxt](https://nuxt.com) - The Nuxt website
- [Nuxt UI](https://ui.nuxt.com) - The documentation of `@nuxt/ui` and `@nuxt/ui-pro`
- [Nuxt Image](https://image.nuxt.com) - The documentation of `@nuxt/image`
- [Nuxt Content](https://content.nuxt.com) - The documentation of `@nuxt/content`
- [Nuxt Devtools](https://devtools.nuxt.com) - The documentation of `@nuxt/devtools`
- [Nuxt Studio](https://nuxt.studio) - The pro version of Nuxt Content

## Features

- Powered by [Nuxt 3](https://nuxt.com)
- Built with [Nuxt UI](https://ui.nuxt.com) and [Nuxt UI Pro](https://ui.nuxt.com/pro)
- Write content with [MDC syntax](https://content.nuxt.com/usage/markdown) thanks to [Nuxt Content](https://content.nuxt.com)
- Compatible with [Nuxt Studio](https://nuxt.studio)
- Auto-generated sidebar navigation
- Full-Text Search out of the box
- Beautiful Typography styles
- Dark mode support
- And more...

## Play online

You can start playing with this template in your browser using our online sandboxes:

::u-button
---
class: mr-4
icon: i-simple-icons-stackblitz
label: Play on StackBlitz
target: _blank
to: https://stackblitz.com/github/nuxt-ui-pro/docs/
---
::callout{color="danger" icon="i-material-symbols-warning"}
This module has not reached the first release yet. API may be subject to change.
::

::u-button
---
class: mt-2 sm:mt-0
icon: i-simple-icons-codesandbox
label: Play on CodeSandbox
target: _blank
to: https://codesandbox.io/s/github/nuxt-ui-pro/docs/
---
::
Applicationinsights can be hard to implement within SSR frameworks where multiple SDK exist for different environnment.

Or open [Nuxt UI playground](https://ui.nuxt.com/playground).
This modules provides an integration of applicationinsights server side with \[nitro-applicationinsights]\(https\://github.com/huang-julien/nitro-applicationinsights) and a client-side plugin to load \[applicationinsights web]\(https\://www\.npmjs.com/package/@microsoft/applicationinsights-web)
28 changes: 5 additions & 23 deletions docs/content/1.getting-started/2.installation.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,14 @@
---
title: Installation
description: Get started with Nuxt UI Pro documentation template.
description: Get started with Applicationinsights for Nuxt
---

::callout
---
icon: i-heroicons-light-bulb
target: _blank
to: https://nuxt.studio/themes/docs
---
Use this template on Nuxt Studio and start your documentation in seconds.
::

## Quick Start

You can start a fresh new project with:
### Installation

```bash [Terminal]
npx nuxi init -t github:nuxt-ui-pro/docs
```bash
npx nuxi module add nuxt-applicationinsights
```

or create a new repository from GitHub:

1. Open <https://github.com/nuxt-ui-pro/docs>
2. Click on `Use this template` button
3. Enter repository name and click on `Create repository from template` button
4. Clone your new repository
5. Install dependencies with your favorite package manager
6. Start development server

That's it! You can now start writing your documentation in the [`content/`](https://content.nuxt.com/usage/content-directory) directory 🚀
This command installs and adds \`nuxt-applicationinsights\` to your \`nuxt.config.ts\`

0 comments on commit d699dec

Please sign in to comment.