# vuepress-plugin-dynamic-page

NPM version NPM downloads

vuepress-plugin-dynamic-page - Make your static vuepress site dynamic.

Warning: This plugin will make your site lose the SSR feature.

# Features

This plugin help render the markdown files on the client side.

(New dynamic page does not use default markdown renderer plugins. This is the plugin next developing step.)

# Install

yarn add -D vuepress-plugin-dynamic-page
# OR npm install -D vuepress-plugin-dynamic-page

# Usage

module.exports = {
  plugins: ['dynamic-page']

# Passing Options

module.exports = {
  plugins: ['dynamic-page', {
    cache: true,
    cdn: {
      vue: '<YOUR-VUE-CDN-URL>'
    dynamicCode: `require('@source/.vuepress/dynamic').default`

# Options

# cache

  • Type: Boolean
  • Default: true

Use the cached page if the path has been loaded once.

# cdn

  • Type: Object
  • Default: cdn: { vue: null }

Add CDN using for some modules.

# dynamicCode

  • Type: String
  • Default: 'require('@source/.vuepress/dynamic').default'

Way to dynamically load your pages

# Author

vuepress-plugin-dynamic-page © HighCWu, Released under the [MIT](https://raw.githubusercontent.com/Hecong Wu/vuepress-plugin-dynamic-page/master/LICENSE) License.

github.com/HighCWu · GitHub @HighCWu

Made with ❤️ by Ahmad Mostafa - @z3by