Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

create react app typescript tailwind template

npx create-react-app app --template typescript

cd app

npm install -D tailwindcss postcss autoprefixer

npx tailwindcss init -p

// Next open up the created "tailwind.config.js" file and add the following to "content":
content: [
    './src/**/*.{js,jsx,ts,tsx}',
],
  
// Next we need to add the Tailwind directives to the "src/index.css" file, add the following to the top of the file:
@tailwind base;
@tailwind components;
@tailwind utilities;
Comment

PREVIOUS NEXT
Code Example
Shell :: how to install postman in ubuntu 
Shell :: kubectl list context 
Shell :: errors were encountered while processing: mysql-server-5.7 mysql-server e: sub-process /usr/bin/dpkg returned an error code (1) 
Shell :: battery report ubuntu 
Shell :: docker to sudoers 
Shell :: hardhat 
Shell :: sound switch ubuntu 
Shell :: (‘08001’, ‘[08001] [Microsoft][ODBC Driver 17 for SQL Server]Client unable to establish connection (0) (SQLDriverConnect)’) 
Shell :: ssh force use password 
Shell :: scaffold-dbcontext with username and password connection string 
Shell :: remove mongodb completely ubuntu 
Shell :: Add your SSH private key to the ssh-agent. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file. 
Shell :: list all ssh connections ubuntu 
Shell :: rman delete old archivelog 
Shell :: count files recursively linux 
Shell :: unknown command cask 
Shell :: how to kill tasks using grep 
Shell :: Apache Maven brew 
Shell :: gitigore rm cache 
Shell :: add credentials to git 
Shell :: apt-get update 
Shell :: install jupyterlab with namba 
Shell :: chmode ubuntu 
Shell :: downgrade node mac 
Shell :: check if kubernetes is running 
Shell :: pc specs linux command 
Shell :: git show origin 
Shell :: zsh: courpt historyfile 
Shell :: git reset to remote 
Shell :: bash remove empty line 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =