Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

add tailwind to next

  // pages/_app.js
- import '../styles/globals.css'
+ import 'tailwindcss/tailwind.css'

  function MyApp({ Component, pageProps }) {
    return <Component {...pageProps} />
  }

  export default MyApp
Source by tailwindcss.com #
 
PREVIOUS NEXT
Tagged: #add #tailwind
ADD COMMENT
Topic
Name
1+6 =