feat: Refactor layouts in www
This commit is contained in:
66 files changed
+1805
-352
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import { defineServiceConfig, discoverEntries } from '@ermnvldmr/rsbuild-config/dev';
|
||||
import { THEME_INIT_SCRIPT, THEME_INIT_STYLES } from '@ermnvldmr/ui/dev';
|
||||
import { pluginMdx } from '@rsbuild/plugin-mdx';
|
||||
import remarkFrontmatter from 'remark-frontmatter';
|
||||
import remarkMdxFrontmatter from 'remark-mdx-frontmatter';
|
||||
@@ -14,4 +15,18 @@ export default defineServiceConfig({
|
||||
source: {
|
||||
entry: discoverEntries(import.meta.dirname, './src/app/**/*.tsx'),
|
||||
},
|
||||
html: {
|
||||
tags: [
|
||||
{
|
||||
tag: 'script',
|
||||
children: THEME_INIT_SCRIPT,
|
||||
head: true,
|
||||
},
|
||||
{
|
||||
tag: 'style',
|
||||
children: THEME_INIT_STYLES,
|
||||
head: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user