@matterlabs/zksync-nuxt-core

v1.12.3
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href]

zkSync DApp Nuxt Module

npm version npm downloads License

📖 Release Notes

Setup

  1. Add @matterlabs/zksync-nuxt-core dependency to your project
yarn add @matterlabs/zksync-nuxt-core
# or
npm install @matterlabs/zksync-nuxt-core
  1. Add @matterlabs/zksync-nuxt-core to the buildModules section of nuxt.config.js

JS

{
    buildModules: [
        [
            "matter-dapp-ui",
            {
                // module options (ref. types/index.ts ModuleOptions)
            },
        ]
    ],
}

TS

import { ModuleOptions } from "matter-dapp-ui/types";
{
    buildModules: [
        [
            "matter-dapp-ui",
            <ModuleOptions>{
                // module options (ref. types/index.ts ModuleOptions)
            },
        ]
    ],
}

Development

  1. Clone this repository
  2. Go to the package and link it with yarn link
  3. Go to your nuxt project where you want to use the module
  4. Install link dependency with yarn link @matterlabs/zksync-nuxt-core
  5. Import the module into your project as shown above
  6. Done ✅

License

MIT License

npm i @matterlabs/zksync-nuxt-core

Metadata

  • MIT
  • Whatever
  • Matter Labs
  • released 3/27/2024

Downloads