npx create-ic-app
Modern, unopinionated frontend templates for the Internet Computer powered by ViteJS
After running npx
cd my-ic-app
npm install
dfx start --background
dfx deploy
npm run dev
Thats it! Ready to go.
When wishing to remove, add or rename a canister, you will have to edit 2 files:
/dfx.json
/tsconfig.json
(if using typescript, see paths option)
More detailed walkthrough soon. For now follow the official guides.
For Fleek
- Choose
fleek/create-react-app
as the docker image - Set publish directory as
dist
A: Yes 100% usable. You don't have to use webpack anymore. ViteJS bundles with rollup
when you run the npm run build
command. This can result in even smaller sizes than with webpack (which most frameworks are leaving behind).
However when developing it skips that because it's unnecessary, and hence provides a better experience.
A: Yes! Go wild. ViteJS is very customizable and has excellent documentation. This project is only aiming to provide useful defaults and to get you started quickly.
Want to contribute your own template? Find something that could be improved? Repo is open for PRs.
@ferMartz (React JS + Tailwind template)