-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): upgrade to latest Docus (#580)
* feat(docs): upgrade to latest Docus * fix: use iconLinks Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
- Loading branch information
Showing
19 changed files
with
2,781 additions
and
3,378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
export default defineAppConfig({ | ||
docus: { | ||
title: 'Nuxt Tailwind', | ||
layout: 'default', | ||
url: 'https://tailwindcss.nuxtjs.org/', | ||
description: 'Add Tailwind CSS to your Nuxt application in seconds.', | ||
socials: { | ||
twitter: 'nuxt_js', | ||
github: 'nuxt-modules/tailwindcss' | ||
}, | ||
image: '/cover.jpg', | ||
header: { | ||
// title: false, | ||
logo: true | ||
}, | ||
footer: { | ||
iconLinks: [ | ||
{ | ||
label: 'Nuxt', | ||
href: 'https://nuxt.com', | ||
icon: 'IconNuxt' | ||
}, | ||
{ | ||
label: 'Vue Telescope', | ||
href: 'https://vuetelescope.com', | ||
icon: 'IconVueTelescope' | ||
} | ||
] | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
--- | ||
title: Basic Usage | ||
description: Live example of basic usage of Nuxt Tailwind on CodeSandbox. | ||
toc: false | ||
--- | ||
|
||
# Basic Usage | ||
|
||
Live example of basic usage of Nuxt Tailwind on CodeSandbox. | ||
|
||
--- | ||
|
||
Minimal example of a Nuxt project with Tailwind CSS module. | ||
|
||
:sandbox{src="https://codesandbox.io/embed/nuxt3-tailwindcss-twowfx"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
--- | ||
title: Tailwind UI | ||
description: Live example of Tailwind UI plugin with Nuxt Tailwind on CodeSandbox. | ||
toc: false | ||
--- | ||
|
||
# Tailwind UI | ||
|
||
Live example of Tailwind UI plugin with Nuxt Tailwind on CodeSandbox. | ||
|
||
--- | ||
|
||
|
||
Example with [Tailwind UI](https://tailwindui.com) plugin with the [Inter](https://rsms.me/inter/) font loaded by [@nuxtjs/google-fonts](https://github.com/nuxt-community/google-fonts-module) module. | ||
|
||
:sandbox{src="https://codesandbox.io/embed/nuxt-tailwindui-xy1jk" class="h-[600px]"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
--- | ||
layout: docs | ||
toc: false | ||
title: Changelog | ||
description: Discover the latest updates. | ||
--- | ||
|
||
::releases | ||
# Changelog | ||
|
||
Discover the latest updates. | ||
|
||
--- | ||
|
||
::alert{type="warning"} | ||
This page is work in progress. | ||
|
||
[Visit this page](https://github.com/nuxt-modules/i18n/releases). | ||
:: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,7 @@ | ||
import { defineNuxtConfig } from 'nuxt' | ||
import colors from 'tailwindcss/colors.js' | ||
|
||
export default defineNuxtConfig({ | ||
extends: ['./node_modules/@docus/docs-theme'], | ||
github: { | ||
owner: 'nuxt-community', | ||
repo: 'tailwindcss-module', | ||
branch: 'main' | ||
}, | ||
theme: {}, | ||
modules: ['@nuxthq/admin', '@docus/github', 'vue-plausible'], | ||
extends: ['@nuxt-themes/docus'], | ||
modules: ['nuxt-plausible'], | ||
plausible: { | ||
domain: 'tailwindcss.nuxtjs.org' | ||
}, | ||
tailwindcss: { | ||
config: { | ||
theme: { | ||
extend: { | ||
colors: { | ||
primary: colors.sky | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { defineTheme } from 'pinceau' | ||
|
||
export default defineTheme({ | ||
color: { | ||
primary: { | ||
50: '#f0f9ff', | ||
100: '#e0f2fe', | ||
200: '#bae6fd', | ||
300: '#7dd3fc', | ||
400: '#38bdf8', | ||
500: '#0ea5e9', | ||
600: '#0284c7', | ||
700: '#0369a1', | ||
800: '#075985', | ||
900: '#0c4a6e' | ||
} | ||
} | ||
}) |
Oops, something went wrong.