@matterlabs/zksync-nuxt-core
TypeScript icon, indicating that this package has built-in type declarations

1.12.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @matterlabs/zksync-nuxt-core

Weekly Downloads

114

Version

1.12.3

License

MIT

Unpacked Size

2.36 MB

Total Files

45

Last publish

Collaborators

  • ramonzksync
  • hatemosphere-matterlabs
  • gluk64
  • popzxc
  • npm-matterlabs