Skip to content

Commit 5f78f23

Browse files
committed
Merge branch 'heroku-migration-video-blog' of https://github.com/DefangLabs/defang-docs into heroku-migration-video-blog
1 parent 885aafd commit 5f78f23

18 files changed

+1689
-106
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ defang
2323
samples
2424
/docs/samples.md
2525
/static/samples-v2.json
26+
playwright-report
27+
test-results

components.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://ui.shadcn.com/schema.json",
3+
"style": "new-york",
4+
"rsc": false,
5+
"tsx": true,
6+
"tailwind": {
7+
"config": "tailwind.config.js",
8+
"css": "src/css/custom.css",
9+
"baseColor": "zinc",
10+
"cssVariables": true,
11+
"prefix": ""
12+
},
13+
"aliases": {
14+
"components": "@/components",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"hooks": "@/hooks"
18+
},
19+
"iconLibrary": "lucide"
20+
}

docusaurus.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// @ts-check
22
// Note: type annotations allow type checking and IDEs autocompletion
33
const { themes } = require('prism-react-renderer');
4+
const path = require('path');
45
const lightCodeTheme = themes.github;
56
const darkCodeTheme = themes.dracula;
67

@@ -206,6 +207,20 @@ const config = {
206207
},
207208
},
208209
plugins: [
210+
async function shadcnTailwindPlugin() {
211+
return {
212+
name: 'defang-tailwind-shadcn',
213+
configureWebpack() {
214+
return {
215+
resolve: {
216+
alias: {
217+
'@': path.resolve(__dirname, 'src'),
218+
},
219+
},
220+
};
221+
},
222+
};
223+
},
209224
require.resolve('docusaurus-lunr-search'),
210225
[
211226
'@docusaurus/plugin-client-redirects',

0 commit comments

Comments
 (0)