Skip to content

kaminaly/react-pug-react-scripts

Repository files navigation

react-pug-react-scripts

Created for create-react-app v3.2.0
just add react-pug environment with babel-plugin-transform-react-pug

install create-react-app with react-pug-react-scripts

npx create-react-app app-name --scripts-version react-pug-react-scripts

for TypeScript

npx create-react-app app-name --scripts-version react-pug-react-scripts --typescript

note: TypeScript removes "import" of unused modules. variables of inside of pug is NOT detected by the system. fixed it by bellow code but it's untidy.

const use = [React, icon]

below is the original README

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published