-
Install node.js
-
Install modules
npm install
- Compile
npm run build
- Run test
npm start
- Run Prettier
npx prettier --write src/**/*.*
In order not to apply Prettier, add // prettier-ignore
// prettier-ignore
const jsx = `Long long long long long long long long long text with ${text.length} characters.`
- Install Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
- Prepend below to ~/.vimrc
set nocompatible
filetype off
" Set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" Let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" TSX plugins
Plugin 'leafgarland/typescript-vim'
Plugin 'peitalin/vim-jsx-typescript'
call vundle#end()
filetype plugin indent on
- Run below commands in vim
:so ~/.vimrc
:PluginInstall