0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Fix tailwind integration in markdown files (#3305)

* Fix tailwind integration in markdown files

* 3 character PR -> 9 character PR
This commit is contained in:
[object Object] 2022-05-06 10:01:04 -07:00 committed by GitHub
parent 4639a048d7
commit 2864d09ad4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
module.exports = { module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'], content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: { theme: {
extend: {}, extend: {},
}, },

View file

@ -18,7 +18,7 @@ export const ALIASES = new Map([
]); ]);
export const CONFIG_STUB = `import { defineConfig } from 'astro/config';\n\nexport default defineConfig({});`; export const CONFIG_STUB = `import { defineConfig } from 'astro/config';\n\nexport default defineConfig({});`;
export const TAILWIND_CONFIG_STUB = `module.exports = { export const TAILWIND_CONFIG_STUB = `module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}'], content: ['./src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}'],
theme: { theme: {
extend: {}, extend: {},
}, },

View file

@ -1,7 +1,7 @@
const path = require('path'); const path = require('path');
module.exports = { module.exports = {
content: [path.join(__dirname, 'src/**/*.{astro,html,js,jsx,svelte,ts,tsx,vue}')], content: [path.join(__dirname, 'src/**/*.{astro,html,js,jsx,md,svelte,ts,tsx,vue}')],
theme: { theme: {
extend: { extend: {
colors: { colors: {