@rsksmart/rif-rollup-nuxt-core
v1.4.0
Published
[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![License][license-src]][license-href]
Downloads
19
Readme
Rif Rollup DApp Nuxt Module
Setup
- Add
@rsksmart/rif-rollup-nuxt-core
dependency to your project
yarn add @rsksmart/rif-rollup-nuxt-core
# or
npm install @rsksmart/rif-rollup-nuxt-core
- Add
@rsksmart/rif-rollup-nuxt-core
to thebuildModules
section ofnuxt.config.js
JStypes
tailwind.config.js nuxt.config.ts LICENSE .eslintrc.js index.d.ts tests .husky .babelrc plugins index.js .prettierrc store utils package.json .yarnrc.yml CHANGELOG.md .github .yarn tsconfig.json stylelint.config.js jest.config.js .editorconfig jsconfig.json
{
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
- 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 @rsksmart/rif-rollup-nuxt-core
- Import the module into your project as shown above
- Done ✅