0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Gatsby.jsにMaterial-UIを導入する手順

Last updated at Posted at 2020-12-28

手順

1. gatsby-plugin-material-ui@material-ui/coreをインストール

yarn add gatsby-plugin-material-ui @material-ui/core

その他のライブラリとしては以下のようなものがあります。必要に応じてインストールしてください。

  • @material-ui/icons
  • @material-ui/lab
  • @material-ui/pickers

2. gatsby-config.jsに以下を記述

gatsby-config.js
module.exports = {
  plugins: [`gatsby-plugin-material-ui`],
};

詳細

Material-UI

GoogleのMaterialデザインをベースに開発された、UIコンポーネントライブラリ

参考資料

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?