@feature-sliced/cra-template
Advanced tools
Comparing version 0.0.1-concept to 0.0.1-concept.1
{ | ||
"name": "@feature-sliced/cra-template", | ||
"version": "0.0.1-concept", | ||
"version": "0.0.1-concept.1", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "react", |
@@ -7,9 +7,9 @@ # [@feature-sliced/cra-tempalte](https://www.npmjs.com/package/@feature-sliced/cra-template) | ||
- With structure example | ||
- With basic layers and other for scaling | ||
- Without state-managers tools | ||
- With **structure example** | ||
- With basic layers **for start** and other **for scaling** | ||
- Without **redundant dependencies** | ||
## Get Started | ||
To use this template, add `--template "@feature-sliced"` when creating a new app. | ||
To use this template, add `--template @feature-sliced` when creating a new app. | ||
@@ -19,3 +19,3 @@ `npm:` | ||
```bash | ||
npx create-react-app <project-name> --template "@feature-sliced" | ||
npx create-react-app <project-name> --template @feature-sliced | ||
``` | ||
@@ -26,3 +26,3 @@ | ||
```bash | ||
yarn create react-app <project-name> --template "@feature-sliced" | ||
yarn create react-app <project-name> --template @feature-sliced | ||
``` | ||
@@ -33,3 +33,3 @@ | ||
```bash | ||
pnpx create-react-app <project-name> --template "@feature-sliced" | ||
pnpx create-react-app <project-name> --template @feature-sliced | ||
``` | ||
@@ -43,1 +43,3 @@ | ||
- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App. | ||
- [FSD: Basics](https://feature-sliced.design/en/docs/get-started/basics) - Basic concepts of Feature Sliced Design | ||
- [FSD: Layers](https://feature-sliced.design/en/docs/reference/layers) - Layers overview of Feature Sliced Design |
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { App } from 'app'; | ||
import App from 'app'; | ||
import reportWebVitals from './reportWebVitals'; | ||
@@ -6,0 +6,0 @@ |
@@ -1,2 +0,2 @@ | ||
import React, { useState } from 'react'; | ||
import React from 'react'; | ||
import { Button } from 'shared/ui/button'; | ||
@@ -3,0 +3,0 @@ import { useCounter } from './model'; |
42773
41