Skip to content

how to get unplugin-vue-markdown working in quasar #17835

Discussion options

You must be logged in to vote

got it working with:

viteVuePluginOptions: {
  // allows Vue to compile Markdown files
  include: [/\.vue$/, /\.md$/],
},

will see if this helps me :-)


as reference more of the config file:

// Configuration for your app
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-file

import { defineConfig } from '#q-app/wrappers'

import Vue from '@vitejs/plugin-vue'
import Markdown from 'unplugin-vue-markdown/vite'

export default defineConfig((/* ctx */) => {
  return {
      // extendViteConf (viteConf) {},
      viteVuePluginOptions: {
        include: [/\.vue$/, /\.md$/], // <-- allows Vue to compile Markdown files
      },

      vitePlugins: [
        [
          'vite-plugin-checker',

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by s-light
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant