From c5afd7f1b38c88177a74814f9f20ca1ae696a9de Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Tue, 15 Oct 2024 14:06:34 +0800 Subject: [PATCH] :wrench: fix tailwind intellisense config --- tailwind.config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index ba679a5..5b891fa 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,5 +1,8 @@ +/* eslint-disable import/no-extraneous-dependencies */ // Only use for Tailwind IntelliSense -module.exports = { - presets: [require("docusaurus-theme-nonepress/src/tailwind.config.js")], +import tailwindConfig from "@nullbot/docusaurus-theme-nonepress/src/tailwind.config.ts"; + +export default { + presets: [tailwindConfig], };