Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

MiguelArmendariz/react-app-template-yarn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is no longer being mantained as I opted to use tailwindcss + yarn + typescript in my projects.

react-app-template-yarn

This project is a basic template for a react application using webpack, and YARN as package manager. That's why the repository name has YARN at the end.

Content

  • Webpack configuration for local and prebuild.
  • Public folder like create-react-app.
  • Src folder without file structuring.
  • Babel configuration to work with react.
  • Eslint with basic configuration using Wesbos
  • The template currently works with SCSS but you can easily add configuration to support CSS files.
  • MIT license.

Important Notes

  • The src folder contains an App folder similar to create-react-app.
  • To use scss modules create a file with a name: FileName.module.scss, this way you can use it like:
import styles from 'FileName.module.scss';

<div className={styles.YourClass}> Bla bla bla </div>

THIS WAS CREATED USING NODE 12.11.1

Recommendations

I personally like to use yarn-check package because it offers a way to visualize which package to update and it highlights if the package update is a patch, minor update, potentially breaker, etc.

You can use the command yarn-check -u to see it this way and select only the packages you want to update.

Feel free to contact me if you have suggestions/requests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published