Giter Club home page Giter Club logo

next-demo's Introduction

Hey Everyone !

This is a quick demo I put together using Next JS as a small introduction.

To get started and run the app first run

npm install
# and then
npm run dev

This will install dependencies and start the development server on http://localhost:3000

Things to note

  1. First check out the [Pages] folder. These files relate to routes on the app. For example about.js creates a route http://localhost:3000/about.
  2. Next note the [styles] folder. Styles for pages should go in this folder whereas styles for components should be put together with the component js file.
  3. Speaking of, components allow us to create reusable elements through out app. Similar to lit-html which you would have used in the Vanilla-SPA.
  4. The structure and more of the minute details may take some getting used to but as you can see, building up each page is quite similar to the html and css we are already quite used to.

Here are some links about next js if you are want to read further and understand more details.

For any questions please feel free to ask

next-demo's People

Contributors

loganbruce avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.