Create React apps with Deno.
Note: This is a toy. You can play with it. But I'm afraid I can't give much support.
deno install -A --unstable -n deno-create-react-app https://deno.land/x/create_react_app/mod.ts
deno-create-react-app init my-app
cd my-app
deno-create-react-app run
deno install -A --unstable -n deno-create-react-app https://deno.land/x/create_react_app/mod.ts
command deno-create-react-app
will install on your desktop
deno-create-react-app init <name>
a sample project will init into folder <name>
deno-create-react-app run <-w> <-p>
run the project locally
-w, --watch
, watch file change to rebuild, default is true-p, --port
, server port, default is 8000
deno-create-react-app build
build the project to dist/build
, your app is ready to deploy
- my-app
- dist/ # this folder is generated when run/build
- static/ # put static files here, like css/image
- index.html # required
- index.tsx # required
- tsconfig.json # required