Answers for "global css not working in next js"

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

global css not working in next js

Add this to your _app.js import '../styles/globals.css'
Posted by: Guest on October-12-2021

Code answers related to "global css not working in next js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language