We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fdd94 commit 4f0e415Copy full SHA for 4f0e415
packages/tailwindcss-language-service/src/util/docsUrl.ts
@@ -2,9 +2,13 @@ import semver from 'semver'
2
3
export function docsUrl(version: string, paths: string | string[]): string {
4
let major = 0
5
- let url = 'https://v0.tailwindcss.com/docs/'
+ let url = 'https://tailwindcss-v0.netlify.app/docs/'
6
if (semver.gte(version, '0.99.0')) {
7
major = 1
8
+ url = 'https://v1.tailwindcss.com/docs/'
9
+ }
10
+ if (semver.gte(version, '1.99.0')) {
11
+ major = 2
12
url = 'https://tailwindcss.com/docs/'
13
}
14
const path = Array.isArray(paths)
0 commit comments