Added Mercury parser capabilities
This commit is contained in:
parent
7e4180ebef
commit
e2914af002
3 changed files with 727 additions and 122 deletions
846
package-lock.json
generated
846
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -24,6 +24,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@johmun/vue-tags-input": "^2.1.0",
|
"@johmun/vue-tags-input": "^2.1.0",
|
||||||
|
"@postlight/mercury-parser": "^2.2.0",
|
||||||
"axios": "^0.19.0",
|
"axios": "^0.19.0",
|
||||||
"prismjs": "^1.20.0",
|
"prismjs": "^1.20.0",
|
||||||
"vue": "^2.6.10",
|
"vue": "^2.6.10",
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
import Mercury from '@postlight/mercury-parser';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
@ -305,6 +306,7 @@ export default {
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
this.$axios = axios;
|
this.$axios = axios;
|
||||||
|
this.$mercury = Mercury;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue