提问人:Helmar Bachle 提问时间:1/2/2023 最后编辑:H.B.Helmar Bachle 更新时间:1/2/2023 访问量:692
顺风 CCS 样式未反映在 Svelte 项目 (localhost) 上
tailwind ccs styles not reflecting on the Svelte project (localhost)
问:
我已经按照 https://tailwindcss.com/docs/guides/sveltekit 使用 SvelteKit 安装 Tailwind CSS 的说明进行操作,但是样式不会反映在项目中。
收到错误“在规则 @tailwind 中未知
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter()
},
preprocess: vitePreprocess()
};
export default config;
答: 暂无答案
评论