Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

install typescript in gatsby

yarn add gatsby-plugin-typescript
yarn add typescript --dev

# npm

npm i gatsby-plugin-typescript 
npm i typescript --save-dev
Comment

PREVIOUS NEXT
Code Example
Shell :: uppercase first str bash 
Shell :: bash unsquash specific files 
Shell :: Got an error creating the test database: ERREUR: droit refusé pour créer une base de données 
Shell :: see traffic github grepper 
Shell :: linux how to open code detached 
Shell :: use alternative composer version cpanel ssh 
Shell :: inodes full 100% 
Shell :: linkedin video downloader terminal 
Shell :: resize image command-line recursively on all files 
Shell :: pnpm install nextUI 
Shell :: git host key verification failed 
Shell :: bash if file contains string 
Shell :: branch list in git 
Shell :: git config --global remove 
Shell :: update homestead after yaml change 
Shell :: get all containers in linux 
Shell :: how to stop a node server from running 
Shell :: fayl yaratish cmd 
Shell :: partager le wifi de son pc ubuntu a son telephone 
Shell :: command not found: gradlew.bat 
Shell :: how to start venv 
Shell :: git shortcuts 
Shell :: how to I display powershell function code 
Shell :: powershell set environment variable 
Shell :: windows apps how to create shortcut 
Shell :: bash ls each file on a single line 
Shell :: raspberry pi install pip 
Shell :: ngxcountup 
Shell :: libxml2 install 
Shell :: ffmpeg take screenshot 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =