MDX module for Nuxt.js
- Load
.mdx
files inside Vue components. - Register
.mdx
files as routes inpages
directory.
- 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'
]
}
- Clone this repository
- Install dependencies using
yarn
- Start development server using
yarn dev
Copyright (c) Jonathan Bakebwa codebender828@gmail.com