Answers for "gatsby with typesscript"

1

how to install gatsby with typescript

# Install this on the current gatsby project
npm install gatsby-plugin-typescript & npm install typescript --save-dev
# Yarn
yarn add gatsby-plugin-typescript & yarn add typescript --dev

# gatsby-config.js
module.exports = {
  plugins: [
    `gatsby-plugin-typescript`,
  ],
}

# https://medium.com/@stojanpeshov/how-to-setup-gatsbyjs-starter-with-typescript-eslint-prettier-269b1a0a812f
Posted by: Guest on June-27-2020
0

default gatsby typescript started

gatsby new gatsby-starter-default-typescript https://github.com/andykenward/gatsby-starter-default-typescriptCopyInstall command: copy code to clipboard
Posted by: Guest on June-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language