fix: tailwind setup for real now
This commit is contained in:
parent
aa1efcc7ea
commit
f4b8753171
4 changed files with 183 additions and 13 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import { defineConfig } from 'astro/config';
|
||||
import react from '@astrojs/react';
|
||||
import mdx from '@astrojs/mdx';
|
||||
import tailwind from '@astrojs/tailwind';
|
||||
|
||||
import remarkToc from 'remark-toc';
|
||||
import rehypeSlug from 'rehype-slug';
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
"rehype-slug": "^6.0.0",
|
||||
"rehype-urls": "^1.2.0",
|
||||
"remark-toc": "^9.0.0",
|
||||
"tailwindcss": "^4.0.0",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"worker-timers": "^8.0.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
// @ts-ignore
|
||||
import { pwaInfo } from 'virtual:pwa-info';
|
||||
|
||||
import '../styles/index.css';
|
||||
|
||||
const { BASE_URL } = import.meta.env;
|
||||
const baseNoTrailing = BASE_URL.endsWith('/') ? BASE_URL.slice(0, -1) : BASE_URL;
|
||||
---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue