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

gatsby typescript

npm init gatsby -ts
Comment

PREVIOUS NEXT
Code Example
Shell :: git worktree remove 
Shell :: reset git project 
Shell :: react testing using jest along with code coverage 
Shell :: wasm-pack install 
Shell :: install zsh hyper mac 
Shell :: change user to sudo kali 
Shell :: monitor mode wifi kali 
Shell :: how to delete a commit in git remotely 
Shell :: the digital freelance company 
Shell :: how to install steam on fedora 
Shell :: matlab on ubuntu 
Shell :: ubuntu screenshot tool 
Shell :: error could not lock config file .git/config permission denied ubuntu 
Shell :: Errors during downloading metadata for repository 
Shell :: linux screen list 
Shell :: wsl System has not been booted with systemd as init system 
Shell :: install exact version npm 
Shell :: ls all subdirectories 
Shell :: create a zip file in linux 
Shell :: run sh from terminal mac 
Shell :: how to check whether git is initialized or not 
Shell :: grepper with github 
Shell :: commit to a new branch 
Shell :: mysql query result to file 
Shell :: install node js redhat 8 
Shell :: nestjs dockerfile 
Shell :: ufw difference between deny and reject 
Shell :: kill port linus 
Shell :: ssh keygen 
Shell :: mac address windows command 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =