about summary refs log tree commit diff
path: root/nuxt.config.js
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-11 20:52:24 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2019-10-11 20:52:24 +0200
commit7fc483aa8cedbaeeef2a8ad0d2dbee5a9f73ac86 (patch)
tree1c0b357a6c0056aadea5b79388a7d57b14618488 /nuxt.config.js
parent293388bf6c338fb5a2bc2d05ff526750f28bb4bc (diff)
downloadpuszcza-7fc483aa8cedbaeeef2a8ad0d2dbee5a9f73ac86.tar.gz
puszcza-7fc483aa8cedbaeeef2a8ad0d2dbee5a9f73ac86.zip
Fix markdown displaying
Diffstat (limited to 'nuxt.config.js')
-rw-r--r--nuxt.config.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/nuxt.config.js b/nuxt.config.js
index caccc2b..abc71cb 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -72,6 +72,11 @@ export default {
     /*
      ** You can extend webpack config here
      */
-    extend(config, ctx) { }
+    extend(config, ctx) {
+      config.module.rules.push({
+        test: /\.md$/,
+        use: ['raw-loader']
+      })
+    }
   }
 }