Бандлеры и сборки
Для React
- NextJS - web-framework for React (Best choice!)
- create-react-app - bundler for React
- Gatsby - static html-page generator with React
- Astro - static html-page generator
- Remix - web-framework
- Fresh - web-framework for React
NextJS
Инициализация проекта:
mkdir nextjs
npx create-next-app@latest .
? Would you like to use TypeScript with this project? › No / Yes
? Would you like to use ESLint with this project? › No / Yes
? Would you like to use experimental `app/` directory with this project?
? Would you like to use `src/` directory with this project? › No / Yes
? What import alias would you like configured? › @/*
Declare file types
react-app-env.d.ts, next-env.d.ts
declare module '*.png';
declare module '*.svg';
declare module '*.jpeg';
declare module '*.jpg';
declare module '*.scss';