Skip to content
Snippets Groups Projects
Verified Commit c24534b6 authored by insert's avatar insert
Browse files

Add node sass.

parent bc7467a5
No related merge requests found
{
"name": "nextjs-preact-demo",
"name": "tmci-website",
"version": "1.0.0",
"scripts": {
"dev": "next",
......@@ -8,13 +8,13 @@
},
"dependencies": {
"next": "^9.3.1",
"node-sass": "^4.14.0",
"preact": "^10.3.4",
"preact-render-to-string": "^5.1.4",
"react": "github:preact-compat/react#1.0.0",
"react-dom": "github:preact-compat/react-dom#1.0.0",
"react-ssr-prepass": "npm:preact-ssr-prepass@^1.0.1"
},
"license": "UNLICENSE",
"devDependencies": {
"@types/node": "^13.13.4",
"@types/react": "^16.9.34",
......
import React from 'react'
import Link from 'next/link'
import styles from './test.module.scss';
export default () => {
return (
<main>
<h1>Hello from Preact + Typescript</h1>
<h1 className={styles.header}>Hello from Preact + Typescript</h1>
<Link href="/about">
<a>About</a>
......
.header {
font-size: 3em;
}
This diff is collapsed.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment