tailwind + new images
This commit is contained in:
parent
86145d6c26
commit
11afe8ef72
9 changed files with 51 additions and 38 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
import remarkMath from 'remark-math';
|
||||
import rehypeKatex from 'rehype-katex';
|
||||
import tailwind from "tailwindcss";
|
||||
import autoprefixer from "autoprefixer";
|
||||
|
||||
module.exports = {
|
||||
title: 'Robossembler',
|
||||
|
@ -114,4 +116,31 @@ module.exports = {
|
|||
crossorigin: 'anonymous',
|
||||
},
|
||||
],
|
||||
|
||||
plugins: [
|
||||
async function myPlugin(context, options) {
|
||||
return {
|
||||
name: "docusaurus-tailwindcss",
|
||||
configurePostCss(postcssOptions) {
|
||||
// Appends TailwindCSS and AutoPrefixer.
|
||||
postcssOptions.plugins.push(require("tailwindcss"));
|
||||
postcssOptions.plugins.push(require("autoprefixer"));
|
||||
return postcssOptions;
|
||||
},
|
||||
};
|
||||
},
|
||||
function () {
|
||||
return {
|
||||
name: "follow-symlinks",
|
||||
configureWebpack() {
|
||||
return {
|
||||
resolve: {
|
||||
// Yes, leave this on false to support symlinks.
|
||||
symlinks: false,
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue