[examples/fivethirtyeight][m]: rplc @flowershow with @portaljs packages

This commit is contained in:
olayway
2023-06-14 11:33:21 +02:00
parent 062e817f3a
commit b14500b213
3 changed files with 241 additions and 676 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -9,10 +9,10 @@
"lint": "next lint" "lint": "next lint"
}, },
"dependencies": { "dependencies": {
"@flowershow/core": "^0.4.13",
"@headlessui/react": "^1.7.14", "@headlessui/react": "^1.7.14",
"@heroicons/react": "^2.0.18", "@heroicons/react": "^2.0.18",
"@portaljs/components": "^0.1.8", "@portaljs/components": "^0.1.8",
"@portaljs/core": "^1.0.5",
"@tailwindcss/typography": "^0.5.9", "@tailwindcss/typography": "^0.5.9",
"@types/node": "20.1.1", "@types/node": "20.1.1",
"@types/react": "18.2.6", "@types/react": "18.2.6",

View File

@@ -1,7 +1,7 @@
import '@/styles/globals.css'; import '@/styles/globals.css';
import '@portaljs/components/styles.css'; import '@portaljs/components/styles.css';
import { useEffect } from 'react'; import { useEffect } from 'react';
import { pageview } from '@flowershow/core'; import { pageview } from '@portaljs/core';
import Script from 'next/script'; import Script from 'next/script';
import Head from 'next/head'; import Head from 'next/head';
import { useRouter } from 'next/router'; import { useRouter } from 'next/router';