Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commitb59e1a0

Browse files
committed
Add Tailwind CSS configuration and update page title
1 parent2bd6b62 commitb59e1a0

File tree

9 files changed

+654
-48
lines changed

9 files changed

+654
-48
lines changed

‎docusaurus.config.ts‎

Lines changed: 11 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ const config: Config = {
4747
],
4848
},
4949
],
50+
asyncfunctionmyPlugin(context,options){
51+
return{
52+
name:"docusaurus-tailwindcss",
53+
configurePostCss(postcssOptions){
54+
// Appends TailwindCSS and AutoPrefixer.
55+
postcssOptions.plugins.push(require("tailwindcss"));
56+
postcssOptions.plugins.push(require("autoprefixer"));
57+
returnpostcssOptions;
58+
},
59+
};
60+
},
5061
],
5162

5263
presets:[
@@ -134,51 +145,6 @@ const config: Config = {
134145
},
135146
],
136147
},
137-
footer:{
138-
style:"dark",
139-
links:[
140-
{
141-
title:"Docs",
142-
items:[
143-
{
144-
label:"Tutorial",
145-
to:"/docs/intro",
146-
},
147-
],
148-
},
149-
{
150-
title:"Community",
151-
items:[
152-
{
153-
label:"Stack Overflow",
154-
href:"https://stackoverflow.com/questions/tagged/docusaurus",
155-
},
156-
{
157-
label:"Discord",
158-
href:"https://discordapp.com/invite/docusaurus",
159-
},
160-
{
161-
label:"Twitter",
162-
href:"https://twitter.com/docusaurus",
163-
},
164-
],
165-
},
166-
{
167-
title:"More",
168-
items:[
169-
{
170-
label:"Blog",
171-
to:"/blog",
172-
},
173-
{
174-
label:"GitHub",
175-
href:"https://github.com/facebook/docusaurus",
176-
},
177-
],
178-
},
179-
],
180-
copyright:`Copyright ©${newDate().getFullYear()} My Project, Inc. Built with Docusaurus.`,
181-
},
182148
prism:{
183149
theme:prismThemes.github,
184150
darkTheme:prismThemes.dracula,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp