65358b7a33
* Global CSS Support * Fix webpack configuration * oneOf rule isn't necessary yet * Adjust CSS chunk naming * Begin testing CSS behavior * Add another test TODO * Replace null-loader with ignore-loader * Turn on chunks for new CSS feature * Fix multi test suite * Test CSS import order * Test style HMR * Test CSS compilation * Test compilation and prefixing together * Verify CSS styling works for Development and Production * Add missing TODO * Remove unnecessary test * Adjust TODO message * Hide page until React hydrates * Revert "Hide page until React hydrates" This reverts commit 898d4e0ee547b003d5790e2b11476740d645b907. * Hide FOUC during development * Test CSS imports * Update tests TODO * Add fixture for url() test * Test `file-loader` support in CSS files * Use a simple variant of cssnano * Self-import * Undo bundling * Implement suggestion
14 lines
324 B
JavaScript
14 lines
324 B
JavaScript
import Link from 'next/link'
|
|
export default function Page2 () {
|
|
return (
|
|
<>
|
|
<div className='blue-text'>This text should be blue.</div>
|
|
<br />
|
|
<input key={'' + Math.random()} id='text-input' type='text' />
|
|
<br />
|
|
<Link href='/page1'>
|
|
<a>Switch page</a>
|
|
</Link>
|
|
</>
|
|
)
|
|
}
|