"Next.js is a minimalistic framework for server-rendered React applications."
$ yarn add next react react-dom
package.json
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
}
pages/index.js
export default
() => <h1>Don't panic</h1>
$ yarn dev
http://localhost:3000
yarn global add now
now
var msg = "Thanks for ..."
function scroll() {
window.status = msg
msg = msg.substring[...]
setTimeout("scroll()",150)
}
Tables layout
styled-jsx