Skip to content

Commit

Permalink
🔧 fix tailwind intellisense config
Browse files Browse the repository at this point in the history
  • Loading branch information
StarHeartHunt committed Oct 15, 2024
1 parent 23c2986 commit c5afd7f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
@@ -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],
};

0 comments on commit c5afd7f

Please sign in to comment.