File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 52
52
"shelljs" : " ^0.8.3" ,
53
53
"validate-npm-package-name" : " ^3.0.0" ,
54
54
"vue-template-compiler" : " ^2.6.8" ,
55
+ "vue-markdown-loader" : " ^2.4.1" ,
55
56
"yaml-front-matter" : " ^4.0.0"
56
57
},
57
58
"postcss" : {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import Config from '@/config'
2
2
import store from '@/store'
3
3
4
4
const plugins = {
5
- install ( Vue , options ) { // eslint-disable-line
5
+ install ( Vue ) {
6
6
Vue . prototype . $_lin_jump = ( ) => { // eslint-disable-line
7
7
if ( ! Config . openAutoJumpOut ) {
8
8
return
Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ module.exports = {
14
14
. set ( '@' , resolve ( 'src' ) )
15
15
. set ( 'lin' , resolve ( 'src/lin' ) )
16
16
. set ( 'assets' , resolve ( 'src/assets' ) )
17
+ config . module
18
+ . rule ( 'md' )
19
+ . test ( / \. m d $ / )
20
+ . use ( 'vue-loader' )
21
+ . loader ( 'vue-loader' )
22
+ . end ( )
23
+ . use ( "vue-markdown-loader" )
24
+ . loader ( 'vue-markdown-loader/lib/markdown-compiler' )
17
25
} ,
18
26
configureWebpack : {
19
27
resolve : {
You can’t perform that action at this time.
0 commit comments