bmdl-sdk 2.0.3 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/init.js
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/app/page.tsx
CHANGED
|
@@ -2,7 +2,6 @@ import { Metadata } from 'next'
|
|
|
2
2
|
import { useTranslations } from 'next-intl'
|
|
3
3
|
import { getTranslations } from 'next-intl/server'
|
|
4
4
|
|
|
5
|
-
import { ComponentWidget } from '@/components/organisms'
|
|
6
5
|
import { DefaultLayout } from '@/components/templates'
|
|
7
6
|
|
|
8
7
|
export async function generateMetadata(): Promise<Metadata> {
|
|
@@ -18,7 +17,8 @@ export default function HomePage() {
|
|
|
18
17
|
//
|
|
19
18
|
return (
|
|
20
19
|
<DefaultLayout title={t('home')}>
|
|
21
|
-
<ComponentWidget />
|
|
20
|
+
{/* <ComponentWidget /> */}
|
|
21
|
+
<div />
|
|
22
22
|
</DefaultLayout>
|
|
23
23
|
)
|
|
24
24
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
1
3
|
import dynamic from 'next/dynamic'
|
|
2
4
|
|
|
3
5
|
export const ComponentWidget = dynamic(
|
|
4
|
-
() =>
|
|
6
|
+
() => {
|
|
7
|
+
console.log('process.env', process.env);
|
|
8
|
+
// @ts-ignore
|
|
9
|
+
return import(`../../../../../../src/app/App.tsx`)
|
|
10
|
+
},
|
|
5
11
|
{
|
|
6
12
|
ssr: false,
|
|
7
13
|
loading: () => <div>Loading...</div>
|