GithubHelp home page GithubHelp logo

g-ratie / next-ts-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iniad-ts/next-ts-starter

0.0 0.0 0.0 479 KB

一年生の初回講習に使うテンプレート

JavaScript 31.45% TypeScript 34.99% CSS 33.56%

next-ts-starter's Introduction

これは create-next-app でブートストラップされた Next.js プロジェクトです。

はじめに

Node.js(LTSを強く推奨)&npmのセットアップを完了したあと、開発用サーバーを起動します:

npm run dev

ブラウザでhttp://localhost:3000を開くと結果が表示されます。

pages/index.tsxを修正することで、ページの編集を開始することができます。ファイルを編集すると、ページは自動的に更新されます。

APIルートhttp://localhost:3000/api/helloでアクセスできます。 このエンドポイントは pages/api/hello.ts で編集できます。

pages/apiディレクトリは /api/* にマップされる。このディレクトリのファイルはReactページではなく、API routesとして扱われます。

詳細はこちら

Next.jsの詳細については、以下のリソースをご覧ください:

  • Next.js Documentation - Next.jsの機能とAPIについて学ぶことができます。
  • Learn Next.js - インタラクティブなNext.jsのチュートリアルです。

Next.jsのGitHubリポジトリ - フィードバックやコントリビューションを歓迎します!

Github Pagesへのデプロイ

Github上のSettings -> Pages内のBranchをNoneからgh-pagesに切り替えるとWebページがデプロイされます。

next-ts-starter's People

Contributors

solufa avatar allenshintani avatar g-ratie 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.