Answers for "next js css not working"

0

next js css not working

import React from 'react';
import Head from 'next/head';

export default () => (
  <div>
    <Head>
      <title>My styled page</title>
      <link href="/static/styles.css" rel="stylesheet" />
    </Head>
    <p className="some-class-name">
      Hello world!
    </p>
  </div>
)
Posted by: Guest on June-12-2021
0

next js css not working

import React from 'react
import "../styles/style.css"

export default function App({ Component, pageProps }) {
  const store = useStore(pageProps.initialReduxState)

  return (
    <Component {...pageProps} />
  )
}
Posted by: Guest on October-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language