md-parser/md-parser/src/node_modules/.cache/vue-loader/bef2423c9216241d5f11fc46cf8...

1 line
2.7 KiB
JSON

{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue?vue&type=style&index=0&id=6645ccba&scoped=true&lang=css&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue","mtime":1594995585908},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/css-loader/dist/cjs.js","mtime":499162500000},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/stylePostLoader.js","mtime":499162500000},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/postcss-loader/src/index.js","mtime":499162500000},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgpjb2RlIHsKICBmb250LXN0eWxlOiBpdGFsaWM7Cn0K"},{"version":3,"sources":["UserInputPage.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA;AACA;AACA","file":"UserInputPage.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <article-form></article-form>\n <UserInput class=\"input-area column\"></UserInput>\n <vue-markdown :source='articleText' class=\"column\" id='render-area'></vue-markdown>\n <publish-button @update='articleUpate'></publish-button>\n </div>\n</template>\n\n<script>\nimport VueMarkdown from '../../node_modules/vue-markdown/src/VueMarkdown.js'\nimport UserInput from './UserInput.vue'\nimport PublishButton from './PublishButton.vue'\nimport ArticleForm from './ArticleForm.vue'\n\nexport default {\n name: 'UserInputPage',\n components: {\n VueMarkdown,\n UserInput,\n PublishButton,\n ArticleForm,\n },\n props: {\n },\n data: function() {\n return{\n usertext: '',\n }\n },\n computed: {\n articleText() {\n return this.$store.state.article.content\n }\n },\n methods: {\n // live-updates user text\n userUpdate : function(text){\n this.usertext = text['usertext']\n },\n // saves article content\n articleUpate : function() {\n this.$emit('article-save', {\n 'article-content': this.usertext\n });\n this.$router.push('/published')\n }, \n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\ncode {\n font-style: italic;\n}\n</style>\n"]}]}