This template should help you get started developing with Nimiq in Vue 3. Highly opinionated!
This template requires Node >=18
Create a repo from this template on GitHub. You can use the button "Use this template" in the top right.
If you prefer to do it manually with the cleaner git history
npx degit onmax/nimiq-vue-template my-awesome-nimiq-app
cd my-awesome-nimiq-app
pnpm i
Note
If you don't have pnpm installed, run: npm install -g pnpm
.
Alternatively, you can delete pnpm-lock.yaml
and use npm or yarn
Now make sure to update the following files:
package.json
: Update thename
,version
,description
,author
,repository
,bugs
, andhomepage
fields.vite.config.ts
: Update thebase
field to match your repository name or custom domain.
- Includes
@nimiq/core@next
and connects to the Nimiq Albatross Testnet. - Uses
nimiq-css
andNimiq Icons
for the UI. Supports dark mode! - Uses
vue-router
,vueuse
andpinia
- Added
unocss
withattributify
mode.
pnpm install
pnpm dev
pnpm build