📖 Release Notes
- Add
@matterlabs/zksync-nuxt-core
dependency to your project
yarn add @matterlabs/zksync-nuxt-core
# or
npm install @matterlabs/zksync-nuxt-core
- Add
@matterlabs/zksync-nuxt-core
to the buildModules
section of nuxt.config.js
{
buildModules: [
[
"matter-dapp-ui",
{
// module options (ref. types/index.ts ModuleOptions)
},
]
],
}
import { ModuleOptions } from "matter-dapp-ui/types";
{
buildModules: [
[
"matter-dapp-ui",
<ModuleOptions>{
// module options (ref. types/index.ts ModuleOptions)
},
]
],
}
- Clone this repository
- Go to the package and link it with
yarn link
- Go to your nuxt project where you want to use the module
- Install link dependency with
yarn link @matterlabs/zksync-nuxt-core
- Import the module into your project as shown above
- Done ✅
MIT License