Skip to content

Commit

Permalink
docs: fix paths for build
Browse files Browse the repository at this point in the history
  • Loading branch information
ineshbose committed Jan 25, 2024
1 parent f6128ae commit 5971b0a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ yarn add --dev @nuxtjs/tailwindcss
npm install --save-dev @nuxtjs/tailwindcss
```

*You can test latest additions on [Nightly Releases](https://tailwindcss.nuxtjs.org/getting-started/setup#nightly-releases)!*
*You can test latest additions on [Nightly Releases](https://tailwindcss.nuxtjs.org/getting-started/installation#nightly-releases)!*

2. Add `@nuxtjs/tailwindcss` to the `modules` section of `nuxt.config.{ts,js}`

Expand All @@ -55,7 +55,7 @@ export default defineNuxtConfig({

That's it! You can now use Tailwind classes in your Nuxt app ✨

[📖  Read more](https://tailwindcss.nuxtjs.org/getting-started/setup)
[📖  Read more](https://tailwindcss.nuxtjs.org/getting-started/)

## Contributing

Expand Down
2 changes: 1 addition & 1 deletion docs/content/2.tailwind/1.config.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The `tailwind.config` file and `config` options are subject to the [merging stra

If a `tailwind.config` file is present, it will be imported and used to overwrite the default configuration. All of the following file extensions will work by default: `.js`, `.cjs`, `.mjs`, and `.ts`. When not using the `.cjs` file extension, you need to use ESM syntax (see #549).

You can configure the path with the [configPath option](/getting-started/options#configpath).
You can configure the path with the [configPath option](/getting-started/configuration#configpath).

::callout{color="blue" icon="i-ph-info-duotone"}
This config has the highest priority to overwrite the defaults and [tailwindcss.config](#config-option).
Expand Down
4 changes: 2 additions & 2 deletions docs/content/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ hero:
links:
- label: 'Get started'
icon: 'i-heroicons-rocket-launch'
to: '/getting-started/setup'
to: '/getting-started/installation'
size: lg
- label: 'Star on GitHub'
icon: 'i-simple-icons-github'
Expand All @@ -32,7 +32,7 @@ features:
items:
- title: 'Zero Configuration'
description: 'This module enables a quick and easy setup of Tailwind CSS in your Nuxt application.'
to: '/getting-started/setup'
to: '/getting-started/installation'
- title: 'CSS Nesting'
description: 'Supports CSS Nesting with postcss-nesting to use the latest CSS syntax.'
to: 'https://drafts.csswg.org/css-nesting-1/'
Expand Down
2 changes: 1 addition & 1 deletion docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default defineNuxtConfig({
}
},
routeRules: {
'/getting-started': { redirect: '/getting-started/setup' },
'/getting-started': { redirect: '/getting-started/installation' },
'/tailwind': { redirect: '/tailwind/config' },
'/examples': { redirect: '/examples/basic' },
'/api/search.json': { prerender: true }
Expand Down
4 changes: 2 additions & 2 deletions docs/public/_redirects
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/setup /getting-started/setup 302!
/options /getting-started/options 302!
/installation /getting-started/installation 302!
/configuration /getting-started/configuration 302!
/releases /community/changelog 302!

0 comments on commit 5971b0a

Please sign in to comment.