/inextjs

Next.js starter app

Primary LanguageJavaScript

Next.js basic starter app

github follow ijs code style: prettier

A simple Next.js starter app for your projects

In this app:

  • Next.js basic app Layout handled by components/Page.js

  • custom _app.js file to support the layout component

  • Modular CSS examples

  • dynamic and static page examples

  • <style jsx global /> example for global Next.js styles

You can see a live demo of this repo at inextjs.now.sh

About

Next.js is a framework that makes it easy to create Universal web apps in React. Read more about Next.js in this post

This is a simple starter project that demonstrates how to use Next.js with custom layout and some modular and global styles via <style jsx /> and <style global jsx /> tags.

Get Started (2 minutes)

  1. Clone the the starter repo

git clone https://github.com/ijsto/inextjs.git

  1. Enter the directory

cd inextjs

  1. Install project dependencies

yarn or npm install or npm i

To run the project locally:

yarn dev or npm run dev

Starter project is live at: http://localhost:3000

The starter is now ready - have fun!

Contributing

Have an idea how to make this starter better/more useful? Please submit a PR.

Happy coding!

JavaScript tutorials at iJS.to