Skip to content

feyzaerat/react-ts-starter-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React TypeScript Starter Package

This repository is a ready-to-use starter package for your React projects. It is written in TypeScript, includes a basic project structure, and utilizes SCSS for styling.

Features

  • TypeScript support
  • Basic project setup
  • Example components and pages
  • SCSS support for styling

Installation

  1. Clone this repository:

    git clone https://github.com/username/react-ts-starter-package.git
  2. Navigate to the project directory:

    cd react-ts-starter-package
  3. Install the necessary dependencies:

    npm install
  4. Start the project:

    npm start

SCSS Usage

SCSS is used for styling in this project. To utilize SCSS in your components, follow these steps:

  1. Create a new SCSS file for your component or page, for example, MyComponent.scss.

  2. Import the CSS file into your component or page TypeScript file, for example, MyComponent.tsx:

    import './MyComponent.css';
  3. Write your styles in the SCSS file using SCSS syntax.

  4. Use the styles in your component's JSX code as usual.

Visual Studio Code Extensions

For live compilation of SCSS files in Visual Studio Code, we recommend installing the following extensions:

  1. Live Sass Compiler: Automatically compiles SCSS files and supports live compilation.
  2. Watch SASS: Watches SCSS files and compiles them automatically on changes.
  3. Sass: Compiles SCSS and Sass files quickly and supports features like debugging and code completion.

These extensions will help you work with SCSS files more efficiently in your project.

Usage

This starter package provides a basic configuration for your React projects. It includes essential features such as main components, pages, and routing structure. SCSS is used for styling, allowing for easier and more organized CSS development.

Feel free to customize and extend this starter package according to your project requirements.

About

This repository is a ready-to-use starter package for your React projects. It is written in TypeScript and includes a basic project structure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors