mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
feat(website): unocss
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
import type { MetaFunction } from '@remix-run/node';
|
||||
import type { MetaFunction, LinksFunction } from '@remix-run/node';
|
||||
import { Links, LiveReload, Meta, Outlet, Scripts, ScrollRestoration } from '@remix-run/react';
|
||||
import unocssReset from '@unocss/reset/normalize.css';
|
||||
import unocss from './styles/unocss.css';
|
||||
|
||||
export const links: LinksFunction = () => [
|
||||
{ rel: 'stylesheet', href: unocssReset },
|
||||
{ rel: 'stylesheet', href: unocss },
|
||||
];
|
||||
|
||||
export const meta: MetaFunction = () => ({
|
||||
charset: 'utf-8',
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export default function IndexRoute() {
|
||||
return <div>Hello World</div>;
|
||||
return <div className="text-2xl">Hello World</div>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user