Skip to content
Snippets Groups Projects
Select Git revision
  • 7898d3f78ab9fcf629227469b90069da29811053
  • master default
  • notifications_test_ndf
  • main_ud_local_ndf
  • crust-integration
  • new-client
  • internal_build
  • FE-1054_test_net_ndf
  • FE-1053_change_retry_behavior
  • app_modularization_refactor
  • FE_1020_remove_version_check
  • FE-992_android_migration
  • XX-4094_add_fact_panic
  • FE-990_retry_reset_request
  • development
  • 2.92
  • 2.9
  • 2.8
  • 2.7
  • 2.5
  • 2.3
  • 2.2
  • 2.1
  • 2.04
  • 2.03
  • 2.02
26 results

client-android

Richard T. Carback III's avatar
Richard T. Carback III authored
NextJS -> Vite

See merge request !109
9abd4664
History

Haven is a vite app.

Getting Started

First, run the development server:

npm install
npm run dev
# or
yarn install
yarn dev
# or
bun install
bun run dev

Open http://localhost:3000 with your browser to see the result.

ICP Cannister HOWTO

https://internetcomputer.org/docs/current/developer-docs/web-apps/application-frontends/existing-frontend

Test Locally:

dfx start
dfx deploy

Generate and fund an Identity, in this case icp_prod:

dfx identity new icp_prod
dfx ledger account-id --identity icp_prod --network ic # Use output here to send funds
dfx ledger balance --identity icp_prod --network ic
dfx cycles convert --amount 2.0 --network ic --identity icp_prod

Deploy

dfx deploy --network ic --identity icp_prod

Production

npm run build
npm run preview
# or
yarn build
yarn preview
# or
bun run build
bun run preview