Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 45c74f0

Browse files
author
Je
committed
chore: update hello example with new import api
1 parent 3fd160e commit 45c74f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/hello-world/pages/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1+
import { Import } from 'https://deno.land/x/aleph/mod.ts'
12
import React, { useState } from 'https://esm.sh/react'
23
import Logo from '../components/logo.tsx'
3-
import '../style/index.less'
44

55
export default function Home() {
66
const [count, setCount] = useState(0)
77

88
return (
99
<div className="wrapper">
10+
<Import from="../style/index.less" />
1011
<p className="logo"><Logo /></p>
1112
<p>Welcome to use <strong>Aleph.js</strong>!</p>
1213
<p className="links">

0 commit comments

Comments
 (0)