@nuxtjs/mdx
MDX module for Nuxt.js
Features
- Load
.mdx
files inside Vue components. - Register
.mdx
files as routes inpages
directory.
Setup
- Add
@nuxtjs/mdx
dependency to your project
yarn add --dev @nuxtjs/mdx # or npm install --dev @nuxtjs/mdx
- Add
@nuxtjs/mdx
to thebuildModules
section ofnuxt.config.js
export default {
buildModules: [
'@nuxtjs/mdx'
]
}
Development
- Clone this repository
- Install dependencies using
yarn
- Start development server using
yarn dev
License
Copyright (c) Jonathan Bakebwa codebender828@gmail.com