Giter Site home page Giter Site logo

nervaccio / nextjs-react-foundations Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 188 KB

#NetxJS #tutorial #react foundations

Home Page: https://nervaccio.github.io/nextjs-react-foundations/

License: MIT License

HTML 82.58% JavaScript 17.42%
nextjs react tutorial

nextjs-react-foundations's Introduction

NextJS tutorial - React foundations

The tutorial can be found at: https://nextjs.org/learn/react-foundations

9/9 Completed

Custom config for Github pages deploy

// Chapter-09_Installing Next.js/next.config.js
/**
 * @type {import('next').NextConfig}
 */
const nextConfig = {
    output: 'export',

    distDir: '../docs',
    assetPrefix: '/nextjs-react-foundations/',
}

module.exports = nextConfig

๐Ÿง Take care

Remember to put an empty file .nojeyll named in the output folder or Github will ignore all the js files in _next folder

// Chapter-09_Installing Next.js/package.json
{
  "scripts": {
    "dev": "next dev",
    "build": "next build && touch ../docs/.nojekyll"
  },
  "dependencies": {
    "next": "^14.0.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0"
  }

Credits

NextJS.org - tutorial https://nextjs.org/learn/react-foundations

This README has been optimized for accessibility based on GitHub's blogpost "Tips for Making your GitHub Profile Page Accessible"

License

MIT

nextjs-react-foundations's People

Contributors

nervaccio 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.