Preact 是否有 create-react-app 替代方案?
Is there a create-react-app alternative for Preact?
我正在考虑从 React 切换到 Preact。
我只是想知道 Preact 是否有 create-react-app
替代方案?
### Preact instalation
npm install -g preact-cli
### create react app equivalent
preact create default my-project
### Go into the generated project folder
cd my-project/
### Start the devserver
npm start
我正在考虑从 React 切换到 Preact。
我只是想知道 Preact 是否有 create-react-app
替代方案?
### Preact instalation
npm install -g preact-cli
### create react app equivalent
preact create default my-project
### Go into the generated project folder
cd my-project/
### Start the devserver
npm start