Compare commits
7 Commits
6a5982bef7
...
5b94913feb
Author | SHA1 | Date | |
---|---|---|---|
|
5b94913feb | ||
|
01b07b0d0f | ||
|
8b9445f29b | ||
|
8a67263a74 | ||
|
3b5f57d4a2 | ||
|
5f65262a9d | ||
|
576a014df8 |
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
md-parser/src/node_modules/
|
||||
md-parser/src/node_modules/
|
||||
md-parser/src/node_modules/.cache/
|
||||
md-parser/node_modules/
|
||||
md-parser/src/assets/
|
28
front/src/components/EditPage.vue
Normal file
28
front/src/components/EditPage.vue
Normal file
@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div>
|
||||
<p>Edit an existing page</p>
|
||||
<ul>
|
||||
<li>List all exisiting articles (fetch with AJAX request) </li>
|
||||
</ul>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Vue from '../../node_modules/vue'
|
||||
import VueResource from '../../node_modules/vue-resource'
|
||||
Vue.use(VueResource)
|
||||
|
||||
export default {
|
||||
name: 'EditPage',
|
||||
props: {
|
||||
},
|
||||
data: function(){
|
||||
return {
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped>
|
||||
</style>
|
@ -1 +0,0 @@
|
||||
Subproject commit 45864b8177364cec7245aa6b796498e2301c8714
|
34
md-parser/README.md
Normal file
34
md-parser/README.md
Normal file
@ -0,0 +1,34 @@
|
||||
# md-parser
|
||||
**This is a work in progress**
|
||||
|
||||
VueJS-based frontend to plug on a Pelican static site.
|
||||
|
||||
Gives a nice UI to edit and publish articles.
|
||||
|
||||
## Project setup
|
||||
```
|
||||
npm install
|
||||
```
|
||||
|
||||
### Compiles and hot-reloads for development
|
||||
```
|
||||
npm run serve
|
||||
```
|
||||
|
||||
or :
|
||||
```
|
||||
vue serve src/
|
||||
```
|
||||
|
||||
### Compiles and minifies for production
|
||||
```
|
||||
npm run build
|
||||
```
|
||||
|
||||
### Lints and fixes files
|
||||
```
|
||||
npm run lint
|
||||
```
|
||||
|
||||
### Customize configuration
|
||||
See [Configuration Reference](https://cli.vuejs.org/config/).
|
5
md-parser/babel.config.js
Normal file
5
md-parser/babel.config.js
Normal file
@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
presets: [
|
||||
'@vue/cli-plugin-babel/preset',
|
||||
]
|
||||
}
|
1
md-parser/dist/css/app.a9f74452.css
vendored
Normal file
1
md-parser/dist/css/app.a9f74452.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
textarea[data-v-3744b939]{width:80%;height:800px;resize:none;background-color:#f2f2f2;padding:12px 20px;border:2px solid red;border-radius:4px}*{font-family:Helvetica}.column{width:50%;float:left}#main-content{height:100%}
|
BIN
md-parser/dist/favicon.ico
vendored
Normal file
BIN
md-parser/dist/favicon.ico
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
1
md-parser/dist/index.html
vendored
Normal file
1
md-parser/dist/index.html
vendored
Normal file
@ -0,0 +1 @@
|
||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>md-parser</title><link href=/css/app.a9f74452.css rel=preload as=style><link href=/js/app.5e8fd664.js rel=preload as=script><link href=/js/chunk-vendors.60d9fb4e.js rel=preload as=script><link href=/css/app.a9f74452.css rel=stylesheet></head><body><noscript><strong>We're sorry but md-parser doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.60d9fb4e.js></script><script src=/js/app.5e8fd664.js></script></body></html>
|
2
md-parser/dist/js/app.5e8fd664.js
vendored
Normal file
2
md-parser/dist/js/app.5e8fd664.js
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
(function(e){function t(t){for(var r,a,s=t[0],i=t[1],c=t[2],p=0,f=[];p<s.length;p++)a=s[p],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a][0]),o[a]=0;for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r]);l&&l(t);while(f.length)f.shift()();return u.push.apply(u,c||[]),n()}function n(){for(var e,t=0;t<u.length;t++){for(var n=u[t],r=!0,s=1;s<n.length;s++){var i=n[s];0!==o[i]&&(r=!1)}r&&(u.splice(t--,1),e=a(a.s=n[0]))}return e}var r={},o={app:0},u=[];function a(t){if(r[t])return r[t].exports;var n=r[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=r,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)a.d(n,r,function(t){return e[t]}.bind(null,r));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="/";var s=window["webpackJsonp"]=window["webpackJsonp"]||[],i=s.push.bind(s);s.push=t,s=s.slice();for(var c=0;c<s.length;c++)t(s[c]);var l=i;u.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("d9c2")},"034f":function(e,t,n){"use strict";var r=n("6ce3"),o=n.n(r);o.a},"049c":function(e,t,n){"use strict";var r=n("8fe1"),o=n.n(r);o.a},"3dfd":function(e,t,n){"use strict";var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"main-content"}},[n("UserInput",{staticClass:"input-area column",on:{"user-update":e.alertUser}}),n("vue-markdown",{attrs:{source:e.usertext}},[e._v(e._s(e.usertext))])],1)},o=[],u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.sometext,expression:"sometext"}],attrs:{placeholder:"edit me",id:"textbox"},domProps:{value:e.sometext},on:{input:function(t){t.target.composing||(e.sometext=t.target.value)}}})])},a=[],s={name:"UserInput",props:{},data:function(){return{sometext:""}},watch:{sometext:function(){this.$emit("user-update",{usertext:this.sometext})}}},i=s,c=(n("049c"),n("2bcb")),l=Object(c["a"])(i,u,a,!1,null,"3744b939",null),p=l.exports,f=n("b016"),d={name:"App",components:{UserInput:p,VueMarkdown:f["a"]},data:function(){return{usertext:""}},methods:{alertUser:function(e){this.usertext=e["usertext"]}}},m=d,v=(n("034f"),Object(c["a"])(m,r,o,!1,null,null,null));t["a"]=v.exports},"6ce3":function(e,t,n){},"8fe1":function(e,t,n){}});
|
||||
//# sourceMappingURL=app.5e8fd664.js.map
|
1
md-parser/dist/js/app.5e8fd664.js.map
vendored
Normal file
1
md-parser/dist/js/app.5e8fd664.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
15
md-parser/dist/js/chunk-vendors.60d9fb4e.js
vendored
Normal file
15
md-parser/dist/js/chunk-vendors.60d9fb4e.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
md-parser/dist/js/chunk-vendors.60d9fb4e.js.map
vendored
Normal file
1
md-parser/dist/js/chunk-vendors.60d9fb4e.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
12305
md-parser/package-lock.json
generated
Normal file
12305
md-parser/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
52
md-parser/package.json
Normal file
52
md-parser/package.json
Normal file
@ -0,0 +1,52 @@
|
||||
{
|
||||
"name": "md-parser",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"babel-runtime": "^6.26.0",
|
||||
"bootstrap": "^4.5.0",
|
||||
"bootstrap-vue": "^2.15.0",
|
||||
"core-js": "^3.6.5",
|
||||
"vue": "^2.6.11",
|
||||
"vue-markdown": "^2.2.4",
|
||||
"vue-material": "^1.0.0-beta-15",
|
||||
"vue-resource": "^1.5.1",
|
||||
"vue-router": "^3.3.4",
|
||||
"vuex": "^3.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-plugin-babel": "~4.4.0",
|
||||
"@vue/cli-plugin-eslint": "~4.4.0",
|
||||
"@vue/cli-service": "~4.4.0",
|
||||
"babel-core": "^6.26.3",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"babel-loader": "^8.1.0",
|
||||
"eslint": "^6.7.2",
|
||||
"eslint-plugin-vue": "^6.2.2",
|
||||
"vue-template-compiler": "^2.6.11"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"root": true,
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"plugin:vue/essential",
|
||||
"eslint:recommended"
|
||||
],
|
||||
"parserOptions": {
|
||||
"parser": "babel-eslint"
|
||||
},
|
||||
"rules": {}
|
||||
},
|
||||
"browserslist": [
|
||||
"> 1%",
|
||||
"last 2 versions",
|
||||
"not dead"
|
||||
]
|
||||
}
|
BIN
md-parser/public/favicon.ico
Normal file
BIN
md-parser/public/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
18
md-parser/public/index.html
Normal file
18
md-parser/public/index.html
Normal file
@ -0,0 +1,18 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<title>Article ? </title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app"></div>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
93
md-parser/src/App.vue
Normal file
93
md-parser/src/App.vue
Normal file
@ -0,0 +1,93 @@
|
||||
<template>
|
||||
<div id='main-content'>
|
||||
<div id='top-band'></div>
|
||||
<ul class='nav'>
|
||||
<li class='nav-item'>
|
||||
<router-link to='/edit' class='nav-link'>Edit an article</router-link>
|
||||
</li>
|
||||
<li class='nav-item'>
|
||||
<a href='#' @click='resetInfos' class='nav-link'>New article</a>
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<br>
|
||||
<transition name="fade">
|
||||
<router-view id='sub-content'></router-view>
|
||||
</transition>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import 'vue-material/dist/vue-material.min.css'
|
||||
import 'vue-material/dist/theme/default.css'
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
},
|
||||
data: function() {
|
||||
return{
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// reset all current content and metadata
|
||||
resetInfos: function() {
|
||||
this.$store.commit('resetAll')
|
||||
this.$router.push('/write')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
* {
|
||||
font-family: "Gill Sans Extrabold", sans-serif;
|
||||
}
|
||||
|
||||
.column {
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#main-content {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#sub-content {
|
||||
margin-left: 50px
|
||||
}
|
||||
|
||||
#render-area {
|
||||
padding-bottom : 50px;
|
||||
}
|
||||
|
||||
#top-band {
|
||||
width:100%;
|
||||
height:10px;
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
.fade-enter-active, .fade-leave-active {
|
||||
transition: opacity .5s;
|
||||
}
|
||||
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */
|
||||
{
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
display: inline-block;
|
||||
width: 30em;
|
||||
vertical-align: top;
|
||||
max-width: 300px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
</style>
|
BIN
md-parser/src/assets/logo.png
Normal file
BIN
md-parser/src/assets/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
102
md-parser/src/components/ArticleForm.vue
Normal file
102
md-parser/src/components/ArticleForm.vue
Normal file
@ -0,0 +1,102 @@
|
||||
<template>
|
||||
<form>
|
||||
<div class='form-group'>
|
||||
<label for='author'>Author</label>
|
||||
<input v-model='author' type='text' name='author' id='author' placeholder="John Doe" class='form-control form-control-lg'>
|
||||
</div>
|
||||
<div class='form-group'>
|
||||
<label for='date-published'>Publication date</label>
|
||||
<input v-model='date_created' type='date' name='date-published' id='date-published' class='form-control form-control-sm'>
|
||||
<input type='button' class='btn btn-default today-button' @click.prevent="setToday('date-published')" value='today'><br>
|
||||
</div>
|
||||
|
||||
<div class='form-group'>
|
||||
<label for='date-modified'>Modification date</label>
|
||||
<input v-model='date_modified' type='date' name='date-modified' id='date-modified' class='form-control form-control-sm'>
|
||||
<input type='button' class='btn btn-default today-button' @click.prevent="setToday('date-modified')" value='today'><br>
|
||||
</div>
|
||||
<div class='form-group'>
|
||||
<label for='meta-title'>Title</label>
|
||||
<input v-model='title' type='text' name='meta-title' id='meta-title' placeholder="What's up ?" class='form-control form-control-lg'>
|
||||
</div>
|
||||
</form>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'metaForm',
|
||||
props: {
|
||||
},
|
||||
computed: {
|
||||
author (){
|
||||
return this.$store.state.article.meta.author
|
||||
},
|
||||
date_modified (){
|
||||
return this.$store.state.article.meta.date_modified
|
||||
},
|
||||
date_created (){
|
||||
return this.$store.state.article.meta.date_created
|
||||
},
|
||||
title (){
|
||||
return this.$store.state.article.meta.title
|
||||
},
|
||||
meta (){
|
||||
return {
|
||||
"author": this.author,
|
||||
"date_created": this.date_created,
|
||||
"date_modified": this.date_modified,
|
||||
"title": this.title
|
||||
}
|
||||
},
|
||||
// Input-ready current day.
|
||||
// Based on https://gomakethings.com/setting-a-date-input-to-todays-date-with-vanilla-js/.
|
||||
today (){
|
||||
let obj = new Date()
|
||||
return obj.getFullYear().toString() + "-"
|
||||
+ (obj.getMonth() +1).toString().padStart(2,0) + "-"
|
||||
+ obj.getDate().toString().padStart(2,0)
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
author: function(){
|
||||
this.$store.commit('updateMeta', this.meta)
|
||||
},
|
||||
title: function(){
|
||||
this.sendMeta()
|
||||
},
|
||||
date_created: function(){
|
||||
this.sendMeta()
|
||||
},
|
||||
date_modified: function(){
|
||||
this.$store.commit('updateMeta', this.meta)
|
||||
},
|
||||
},
|
||||
methods : {
|
||||
sendMeta: function(){
|
||||
this.$store.commit('updateMeta', this.meta)
|
||||
},
|
||||
setToday(id){
|
||||
document.getElementById(id).value = this.today
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
form {
|
||||
display: block;
|
||||
margin-bottom: 50px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
form > div > input {
|
||||
max-width: 50%;
|
||||
}
|
||||
|
||||
.today-button {
|
||||
border: solid;
|
||||
border-width: 1px;
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
80
md-parser/src/components/EditPage.vue
Normal file
80
md-parser/src/components/EditPage.vue
Normal file
@ -0,0 +1,80 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="card" v-for="article in articles" :key='article.id'>
|
||||
<img class='card-img-top' src='../assets/question.png'>
|
||||
<div class='card-body'>
|
||||
<h5 class='card-title'>{{ article.title }}</h5>
|
||||
<p class='card-text'> by {{ article.author }}</p>
|
||||
<a class='btn btn-primary' href="#" @click.prevent="loadContent(article.id)"> Edit </a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Vue from 'vue'
|
||||
import VueResource from '../../node_modules/vue-resource'
|
||||
Vue.use(VueResource)
|
||||
|
||||
export default {
|
||||
name: 'EditPage',
|
||||
props: {
|
||||
},
|
||||
data: function(){
|
||||
return {
|
||||
articles: [],
|
||||
}
|
||||
},
|
||||
http: {
|
||||
root: 'http://localhost:3000',
|
||||
},
|
||||
mounted (){
|
||||
this.$resource('articles')
|
||||
.get()
|
||||
.then(
|
||||
response => {
|
||||
this.articles = response.data
|
||||
},
|
||||
response => {
|
||||
console.log('Error: ', response)
|
||||
}
|
||||
)
|
||||
},
|
||||
methods: {
|
||||
loadContent: function(key){
|
||||
this.$resource('articles')
|
||||
.get({
|
||||
"id": key
|
||||
})
|
||||
.then(
|
||||
response => {
|
||||
let data = response.data[0]
|
||||
// update article meta
|
||||
this.$store.commit('updateMeta', {
|
||||
"author" : data.author,
|
||||
"title": data.title,
|
||||
"date_created": data.date_created,
|
||||
"date_modified": data.date_modified,
|
||||
})
|
||||
// update content
|
||||
this.$store.commit('updateText', data.content)
|
||||
},
|
||||
response => {
|
||||
console.log('Error: ', response)
|
||||
}
|
||||
)
|
||||
this.$router.push('/write')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped>
|
||||
|
||||
.card {
|
||||
width: 15rem;
|
||||
display: inline-block;
|
||||
margin: 10px;
|
||||
}
|
||||
</style>
|
25
md-parser/src/components/PublishButton.vue
Normal file
25
md-parser/src/components/PublishButton.vue
Normal file
@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<input type='button' @click.prevent='updateText' value='Publish!' class="btn btn-primary">
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'PublishButton',
|
||||
props: {
|
||||
},
|
||||
data: function(){
|
||||
return {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
updateText : function() {
|
||||
// TODO : POST to API
|
||||
this.$router.push('/published')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped>
|
||||
</style>
|
90
md-parser/src/components/PublishedPage.vue
Normal file
90
md-parser/src/components/PublishedPage.vue
Normal file
@ -0,0 +1,90 @@
|
||||
<template>
|
||||
<div>
|
||||
<p class='alert alert-primary' id='published-message'>Your article was published !</p>
|
||||
<a @click.prevent.once='generateMDFile' value='Download .md file' class='btn btn-secondary' id='download-button'>Download !</a>
|
||||
<br>
|
||||
<hr>
|
||||
<br>
|
||||
<span>{{ author }} wrote </span>
|
||||
<span v-if="date_created">on {{ date_created }}</span>
|
||||
<span>: </span>
|
||||
<hr>
|
||||
<h1 id='article-title'>{{ title}}</h1>
|
||||
<vue-markdown :source='articleText'></vue-markdown>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import VueMarkdown from '../../node_modules/vue-markdown/src/VueMarkdown.js'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
VueMarkdown,
|
||||
},
|
||||
name: 'PublishedPage',
|
||||
props: {
|
||||
},
|
||||
data: function(){
|
||||
return {
|
||||
ready: false,
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
articleText () {
|
||||
return this.$store.state.article.content
|
||||
},
|
||||
author () {
|
||||
return this.$store.state.article.meta.author
|
||||
},
|
||||
date_created () {
|
||||
return this.$store.state.article.meta.date_created
|
||||
},
|
||||
title () {
|
||||
return this.$store.state.article.meta.title
|
||||
}
|
||||
},
|
||||
methods : {
|
||||
generateMDFile : function(){
|
||||
if(this.ready){
|
||||
return
|
||||
}
|
||||
let file = new Blob(
|
||||
[this.articleText],
|
||||
{type: 'text/text'}
|
||||
)
|
||||
let fileURL = URL.createObjectURL(file)
|
||||
// create the link
|
||||
const linkElement = document.getElementById('download-button')
|
||||
|
||||
// add the file url
|
||||
linkElement.setAttribute('href', fileURL)
|
||||
linkElement.innerHTML = 'Ready !'
|
||||
linkElement.setAttribute('download', 'article.md')
|
||||
this.ready = true
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped>
|
||||
#published-message {
|
||||
max-width: 80%;
|
||||
display: block;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
hr {
|
||||
max-width: 80%;
|
||||
margin: 50px;
|
||||
}
|
||||
|
||||
#article-title:before {
|
||||
content: "« "
|
||||
}
|
||||
|
||||
#article-title:after {
|
||||
content: " »"
|
||||
}
|
||||
</style>
|
49
md-parser/src/components/UserInput.vue
Normal file
49
md-parser/src/components/UserInput.vue
Normal file
@ -0,0 +1,49 @@
|
||||
<template>
|
||||
<div>
|
||||
<textarea v-model="userInput" placeholder="edit me" id='textbox' value='this.articleText'></textarea>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'UserInput',
|
||||
props: {
|
||||
},
|
||||
data: function(){
|
||||
return {
|
||||
userInput: ""
|
||||
}
|
||||
},
|
||||
// computed :{
|
||||
// articleText () {
|
||||
// let var_content = this.$store.getters.getContent
|
||||
// console.log('getting article text in user input' + var_content)
|
||||
// return this.$store.getters.getContent()
|
||||
// }
|
||||
// },
|
||||
watch: {
|
||||
// commits a mutation to the store at each change of the text to update global state
|
||||
userInput : function(){
|
||||
this.$emit('articleUpdate')
|
||||
this.$store.commit('updateText', this.userInput)
|
||||
}
|
||||
},
|
||||
mounted: function(){
|
||||
this.userInput = this.$store.getters.getContent
|
||||
console.log("Mounted ! " + this.$store.getters.getContent)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped>
|
||||
textarea{
|
||||
width: 80%;
|
||||
height: 800px;
|
||||
resize : none;
|
||||
padding: 12px 20px;
|
||||
margin-bottom: 50px;
|
||||
border: 2px solid red;
|
||||
border-radius: 4px;
|
||||
}
|
||||
</style>
|
52
md-parser/src/components/UserInputPage.vue
Normal file
52
md-parser/src/components/UserInputPage.vue
Normal file
@ -0,0 +1,52 @@
|
||||
<template>
|
||||
<div>
|
||||
<article-form></article-form>
|
||||
<UserInput class="input-area column" @articleUpdate="articleUpate"></UserInput>
|
||||
<vue-markdown :source='userText' class="column" id='render-area'></vue-markdown>
|
||||
<publish-button @update='articleUpate'></publish-button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import VueMarkdown from '../../node_modules/vue-markdown/src/VueMarkdown.js'
|
||||
import UserInput from './UserInput.vue'
|
||||
import PublishButton from './PublishButton.vue'
|
||||
import ArticleForm from './ArticleForm.vue'
|
||||
|
||||
export default {
|
||||
name: 'UserInputPage',
|
||||
components: {
|
||||
VueMarkdown,
|
||||
UserInput,
|
||||
PublishButton,
|
||||
ArticleForm,
|
||||
},
|
||||
props: {
|
||||
},
|
||||
data: function() {
|
||||
return{
|
||||
userText: '',
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// saves article content
|
||||
articleUpate : function() {
|
||||
console.log('updating in UserInputPage')
|
||||
this.userText = this.$store.getters.getContent
|
||||
},
|
||||
articlePublish: function(){
|
||||
this.$router.push('/published')
|
||||
}
|
||||
},
|
||||
mounted: function(){
|
||||
this.userText = this.$store.getters.getContent
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||
<style scoped>
|
||||
code {
|
||||
font-style: italic;
|
||||
}
|
||||
</style>
|
39
md-parser/src/main.js
Normal file
39
md-parser/src/main.js
Normal file
@ -0,0 +1,39 @@
|
||||
import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import VueRouter from 'vue-router'
|
||||
import EditPage from './components/EditPage.vue'
|
||||
import UserInputPage from './components/UserInputPage.vue'
|
||||
import PublishedPage from './components/PublishedPage.vue'
|
||||
import Vuex from 'vuex'
|
||||
import BootstrapVue from 'bootstrap-vue'
|
||||
import VueResource from 'vue-resource'
|
||||
import { store } from './store/store'
|
||||
import 'bootstrap/dist/css/bootstrap.css'
|
||||
import 'bootstrap-vue/dist/bootstrap-vue.css'
|
||||
import VueMaterial from 'vue-material'
|
||||
|
||||
Vue.use(VueRouter)
|
||||
Vue.use(BootstrapVue)
|
||||
Vue.use(VueResource)
|
||||
Vue.use(Vuex)
|
||||
|
||||
Vue.use(VueMaterial)
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
const routes = [
|
||||
{ path: '/edit', component : EditPage},
|
||||
{ path: '/write', component: UserInputPage},
|
||||
{ path: '/published', component: PublishedPage }
|
||||
]
|
||||
|
||||
const router = new VueRouter({
|
||||
routes
|
||||
})
|
||||
|
||||
new Vue({
|
||||
router,
|
||||
render: h => h(App),
|
||||
store: store,
|
||||
}).$mount('#app')
|
||||
|
1
md-parser/src/node_modules/.cache/vue-loader/02ddfaf105d5ae3851766f09c5b08bf0.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/02ddfaf105d5ae3851766f09c5b08bf0.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/PublishedPage.vue?vue&type=template&id=6abff9d2&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishedPage.vue","mtime":1594991999773},{"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/loaders/templateLoader.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:CjxkaXY+CiAgPHAgY2xhc3M9J2FsZXJ0IGFsZXJ0LXByaW1hcnknIGlkPSdwdWJsaXNoZWQtbWVzc2FnZSc+WW91ciBhcnRpY2xlIHdhcyBwdWJsaXNoZWQgITwvcD4KICA8YSBAY2xpY2sucHJldmVudC5vbmNlPSdnZW5lcmF0ZU1ERmlsZScgdmFsdWU9J0Rvd25sb2FkIC5tZCBmaWxlJyBjbGFzcz0nYnRuIGJ0bi1zZWNvbmRhcnknIGlkPSdkb3dubG9hZC1idXR0b24nPkRvd25sb2FkICE8L2E+CiAgPGJyPgogIDxocj4KICA8YnI+CiAgPHNwYW4+e3sgYXV0aG9yIH19IHdyb3RlIDwvc3Bhbj5vbiB7eyBkYXRlX2NyZWF0ZWQgfX06PC9zcGFuPgogIDxocj4KICA8aDEgaWQ9J2FydGljbGUtdGl0bGUnPnt7IHRpdGxlfX08L2gxPgogIDx2dWUtbWFya2Rvd24gOnNvdXJjZT0nYXJ0aWNsZVRleHQnPjwvdnVlLW1hcmtkb3duPgoKPC9kaXY+Cg=="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/05033f36adfcde71775ca2de91c1f8a7.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/05033f36adfcde71775ca2de91c1f8a7.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/PublishButton.vue?vue&type=template&id=74272f56&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishButton.vue","mtime":1594997143933},{"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/loaders/templateLoader.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:CjxpbnB1dCB0eXBlPSdidXR0b24nIEBjbGljay5wcmV2ZW50PSd1cGRhdGVUZXh0JyB2YWx1ZT0nUHVibGlzaCEnIGNsYXNzPSJidG4gYnRuLXByaW1hcnkiPgo="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/086f369e38b90e3f81c5794eaee3e542.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/086f369e38b90e3f81c5794eaee3e542.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/UserInput.vue?vue&type=template&id=6e828074&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594995743735},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKCJkaXYiLCBbCiAgICBfYygidGV4dGFyZWEiLCB7CiAgICAgIGRpcmVjdGl2ZXM6IFsKICAgICAgICB7CiAgICAgICAgICBuYW1lOiAibW9kZWwiLAogICAgICAgICAgcmF3TmFtZTogInYtbW9kZWwiLAogICAgICAgICAgdmFsdWU6IF92bS51c2VySW5wdXQsCiAgICAgICAgICBleHByZXNzaW9uOiAidXNlcklucHV0IgogICAgICAgIH0KICAgICAgXSwKICAgICAgYXR0cnM6IHsgcGxhY2Vob2xkZXI6ICJlZGl0IG1lIiwgaWQ6ICJ0ZXh0Ym94IiB9LAogICAgICBkb21Qcm9wczogeyB2YWx1ZTogX3ZtLnVzZXJJbnB1dCB9LAogICAgICBvbjogewogICAgICAgIGlucHV0OiBmdW5jdGlvbigkZXZlbnQpIHsKICAgICAgICAgIGlmICgkZXZlbnQudGFyZ2V0LmNvbXBvc2luZykgewogICAgICAgICAgICByZXR1cm4KICAgICAgICAgIH0KICAgICAgICAgIF92bS51c2VySW5wdXQgPSAkZXZlbnQudGFyZ2V0LnZhbHVlCiAgICAgICAgfQogICAgICB9CiAgICB9KQogIF0pCn0KdmFyIHN0YXRpY1JlbmRlckZucyA9IFtdCnJlbmRlci5fd2l0aFN0cmlwcGVkID0gdHJ1ZQoKZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfQ=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/08a88eb14eb65466203a219820d8ec39.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/08a88eb14eb65466203a219820d8ec39.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/UserInput.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594995743735},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnVXNlcklucHV0JywKICBwcm9wczogewogIH0sCiAgZGF0YTogZnVuY3Rpb24oKXsKICAgIHJldHVybiB7CiAgICAgIHVzZXJJbnB1dDogYXJ0aWNsZVRleHQKICAgIH0KICB9LAogIGNvbXB1dGVkIDp7CiAgICBhcnRpY2xlVGV4dCAoKSB7CiAgICAgIHJldHVybiB0aGlzLiRzdG9yZS5zdGF0ZS5hcnRpY2xlLmNvbnRlbnQKICAgIH0KICB9LAogIHdhdGNoOiB7CiAgICBhcnRpY2xlVGV4dDogZnVuY3Rpb24oKXsKICAgICAgICB0aGlzLiRzdG9yZS5jb21taXQoJ3VwZGF0ZVRleHQnLCB0aGlzLmFydGljbGVUZXh0KQogICAgfQogIH0KfQo="},{"version":3,"sources":["UserInput.vue"],"names":[],"mappings":";;;;;;;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"UserInput.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <textarea v-model='userInput' placeholder=\"edit me\" id='textbox'></textarea>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'UserInput',\n props: {\n },\n data: function(){\n return {\n userInput: articleText\n }\n },\n computed :{\n articleText () {\n return this.$store.state.article.content\n }\n },\n watch: {\n articleText: function(){\n this.$store.commit('updateText', this.articleText)\n }\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\ntextarea{\n width: 80%;\n height: 800px;\n resize : none;\n padding: 12px 20px;\n margin-bottom: 50px;\n border: 2px solid red;\n border-radius: 4px;\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/0be56c78c2afd20d9dfba56c6cd49e6b.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/0be56c78c2afd20d9dfba56c6cd49e6b.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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=template&id=6645ccba&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue","mtime":1594996818818},{"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/loaders/templateLoader.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:CjxkaXY+CiAgICA8YXJ0aWNsZS1mb3JtPjwvYXJ0aWNsZS1mb3JtPgogICAgPFVzZXJJbnB1dCBjbGFzcz0iaW5wdXQtYXJlYSBjb2x1bW4iPjwvVXNlcklucHV0PgogICAgPHZ1ZS1tYXJrZG93biA6c291cmNlPSdhcnRpY2xlVGV4dCcgY2xhc3M9ImNvbHVtbiIgaWQ9J3JlbmRlci1hcmVhJz48L3Z1ZS1tYXJrZG93bj4KICAgIDxwdWJsaXNoLWJ1dHRvbiBAdXBkYXRlPSdhcnRpY2xlVXBhdGUnPjwvcHVibGlzaC1idXR0b24+CjwvZGl2Pgo="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/0db327fb167a7e869e106ac021fa8843.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/0db327fb167a7e869e106ac021fa8843.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/App.vue?vue&type=template&id=472cff63&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594302312575},{"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/loaders/templateLoader.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:CjxkaXY+CiAgPFVzZXJJbnB1dCBAdXNlci11cGRhdGU9J2FsZXJ0VXNlcicgY2xhc3M9ImlucHV0LWFyZWEgY29sdW1uIj48L1VzZXJJbnB1dD4KICA8TWRSZW5kZXIgOmJhcmV0ZXh0PSJ1c2VydGV4dCIgY2xhc3M9InJlbmRlci1hcmVhIGNvbHVtbiI+PC9NZFJlbmRlcj4KPC9kaXY+Cg=="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/0f0c5c4e8b479e992b42c3e7c68c221b.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/0f0c5c4e8b479e992b42c3e7c68c221b.json
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
md-parser/src/node_modules/.cache/vue-loader/1598367ee9860ae83f4f89c12cbda298.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/1598367ee9860ae83f4f89c12cbda298.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue","mtime":1594996818818},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL1VzZXJJbnB1dFBhZ2UudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTY2NDVjY2JhJnNjb3BlZD10cnVlJiIKaW1wb3J0IHNjcmlwdCBmcm9tICIuL1VzZXJJbnB1dFBhZ2UudnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJiIKZXhwb3J0ICogZnJvbSAiLi9Vc2VySW5wdXRQYWdlLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmltcG9ydCBzdHlsZTAgZnJvbSAiLi9Vc2VySW5wdXRQYWdlLnZ1ZT92dWUmdHlwZT1zdHlsZSZpbmRleD0wJmlkPTY2NDVjY2JhJnNjb3BlZD10cnV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mVuZGVyKCc2NjQ1Y2NiYScsIHsKICAgICAgICByZW5kZXI6IHJlbmRlciwKICAgICAgICBzdGF0aWNSZW5kZXJGbnM6IHN0YXRpY1JlbmRlckZucwogICAgICB9KQogICAgfSkKICB9Cn0KY29tcG9uZW50Lm9wdGlvbnMuX19maWxlID0gImNvbXBvbmVudHMvVXNlcklucHV0UGFnZS52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/22e3596c2e6688aed080598467e63863.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/22e3596c2e6688aed080598467e63863.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/App.vue?vue&type=style&index=0&lang=css&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594996724804},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCiogewogIGZvbnQtZmFtaWx5OiAiR2lsbCBTYW5zIEV4dHJhYm9sZCIsIHNhbnMtc2VyaWY7Cn0KCi5jb2x1bW4gewogICAgd2lkdGg6IDUwJTsKICAgIGZsb2F0OiBsZWZ0Owp9CgojbWFpbi1jb250ZW50IHsKICBoZWlnaHQ6IDEwMCU7Cn0KCiNzdWItY29udGVudCB7CiAgbWFyZ2luLWxlZnQ6IDUwcHgKfQoKI3JlbmRlci1hcmVhIHsKICBwYWRkaW5nLWJvdHRvbSA6IDUwcHg7Cn0KCiN0b3AtYmFuZCB7CiAgd2lkdGg6MTAwJTsKICBoZWlnaHQ6NDBweDsKICBiYWNrZ3JvdW5kIDogbGluZWFyLWdyYWRpZW50KCNlNmU2ZmYsICNmZmZmZmYpOwp9CgouZmFkZS1lbnRlci1hY3RpdmUsIC5mYWRlLWxlYXZlLWFjdGl2ZSB7CiAgdHJhbnNpdGlvbjogb3BhY2l0eSAuNXM7Cn0KLmZhZGUtZW50ZXIsIC5mYWRlLWxlYXZlLXRvIC8qIC5mYWRlLWxlYXZlLWFjdGl2ZSBiZWxvdyB2ZXJzaW9uIDIuMS44ICovIHsKICBvcGFjaXR5OiAwOwp9Cgo="},{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA","file":"App.vue","sourceRoot":".","sourcesContent":["<template>\n <div id='main-content'>\n <div id='top-band'></div>\n <ul class='nav'>\n <li class='nav-item'>\n <router-link to='/edit' class='nav-link'>Edit an article</router-link>\n </li>\n <li class='nav-item'>\n <a href='#' @click='resetInfos' class='nav-link'>New article</a>\n </li>\n </ul>\n <br>\n <br>\n <transition name=\"fade\">\n <router-view id='sub-content'></router-view>\n </transition>\n </div>\n</template>s\n\n<script>\n\nexport default {\n name: 'App',\n components: {\n },\n data: function() {\n return{\n }\n },\n methods: {\n // reset all current content and metadata\n resetInfos: function() {\n this.$store.commit('resetAll')\n this.$router.push('/write')\n }\n }\n}\n</script>\n\n<style>\n* {\n font-family: \"Gill Sans Extrabold\", sans-serif;\n}\n\n.column {\n width: 50%;\n float: left;\n}\n\n#main-content {\n height: 100%;\n}\n\n#sub-content {\n margin-left: 50px\n}\n\n#render-area {\n padding-bottom : 50px;\n}\n\n#top-band {\n width:100%;\n height:40px;\n background : linear-gradient(#e6e6ff, #ffffff);\n}\n\n.fade-enter-active, .fade-leave-active {\n transition: opacity .5s;\n}\n.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {\n opacity: 0;\n}\n\n</style>"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/2743dba227c82f57d4ac4a90acca393c.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/2743dba227c82f57d4ac4a90acca393c.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/EditPage.vue?vue&type=template&id=747ef394&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/EditPage.vue","mtime":1594989886747},{"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/loaders/templateLoader.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:CjxkaXY+CiAgICAgIDxkaXYgY2xhc3M9ImNhcmQiIHYtZm9yPSJhcnRpY2xlIGluIGFydGljbGVzIiA6a2V5PSdhcnRpY2xlLmlkJz4KICAgICAgICA8aW1nIGNsYXNzPSdjYXJkLWltZy10b3AnIHNyYz0nLi4vYXNzZXRzL3F1ZXN0aW9uJz4KICAgICAgICA8ZGl2IGNsYXNzPSdjYXJkLWJvZHknPgogICAgICAgICAgPGg1IGNsYXNzPSdjYXJkLXRpdGxlJz57eyBhcnRpY2xlLnRpdGxlIH19PC9oNT4KICAgICAgICAgIDxwIGNsYXNzPSdjYXJkLXRleHQnPiBieSB7eyBhcnRpY2xlLmF1dGhvciB9fTwvcD4KICAgICAgICAgIDxhIGNsYXNzPSdidG4gYnRuLXByaW1hcnknIGhyZWY9IiMiIEBjbGljay5wcmV2ZW50PSJsb2FkQ29udGVudChhcnRpY2xlLmlkKSI+IEVkaXQgPC9hPgogICAgICAgIDwvZGl2PgogICAgICA8L2Rpdj4KPC9kaXY+Cg=="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/29fad9f15115a7778a3a3cc25b9581dc.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/29fad9f15115a7778a3a3cc25b9581dc.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/PublishedPage.vue?vue&type=style&index=0&id=6abff9d2&scoped=true&lang=css&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishedPage.vue","mtime":1594991999773},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKI3B1Ymxpc2hlZC1tZXNzYWdlIHsKICBtYXgtd2lkdGg6IDgwJTsKICBkaXNwbGF5OiBibG9jazsKICB0ZXh0LWFsaWduOiBjZW50ZXI7Cn0KCmhyIHsKICBtYXgtd2lkdGg6IDgwJTsKICBtYXJnaW46IDUwcHg7Cn0KCiNhcnRpY2xlLXRpdGxlOmJlZm9yZSB7CiAgY29udGVudDogIsKrICIKfQoKI2FydGljbGUtdGl0bGU6YWZ0ZXIgewogIGNvbnRlbnQ6ICIgwrsiCn0K"},{"version":3,"sources":["PublishedPage.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA","file":"PublishedPage.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <p class='alert alert-primary' id='published-message'>Your article was published !</p>\n <a @click.prevent.once='generateMDFile' value='Download .md file' class='btn btn-secondary' id='download-button'>Download !</a>\n <br>\n <hr>\n <br>\n <span>{{ author }} wrote </span>on {{ date_created }}:</span>\n <hr>\n <h1 id='article-title'>{{ title}}</h1>\n <vue-markdown :source='articleText'></vue-markdown>\n\n </div>\n</template>\n\n<script>\nimport VueMarkdown from '../../node_modules/vue-markdown/src/VueMarkdown.js'\n\nexport default {\n components: {\n VueMarkdown,\n },\n name: 'PublishedPage',\n props: {\n },\n data: function(){\n return {\n ready: false,\n }\n },\n computed: {\n articleText () {\n return this.$store.state.article.content\n },\n author () {\n return this.$store.state.article.meta.author\n },\n date_created () {\n return this.$store.state.article.meta.date_created\n },\n title () {\n return this.$store.state.article.meta.title\n }\n },\n methods : {\n generateMDFile : function(){\n if(this.ready){\n return\n }\n let file = new Blob(\n [this.articleText],\n {type: 'text/text'}\n )\n let fileURL = URL.createObjectURL(file)\n // create the link\n const linkElement = document.getElementById('download-button')\n\n // add the file url\n linkElement.setAttribute('href', fileURL)\n linkElement.innerHTML = 'Ready !'\n linkElement.setAttribute('download', 'article.md')\n this.ready = true\n },\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n#published-message {\n max-width: 80%;\n display: block;\n text-align: center;\n}\n\nhr {\n max-width: 80%;\n margin: 50px;\n}\n\n#article-title:before {\n content: \"« \"\n}\n\n#article-title:after {\n content: \" »\"\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/38ce9e2f1af1d16985c90c1bd0bc514c.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/38ce9e2f1af1d16985c90c1bd0bc514c.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/MdRender.vue?vue&type=template&id=50583030&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","mtime":1594304495794},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKCJkaXYiLCBbX2MoInAiLCBbX3ZtLl92KCIgIiArIF92bS5fcyhfdm0ucmVuZGVyZWRfY29tcHV0ZSkpXSldKQp9CnZhciBzdGF0aWNSZW5kZXJGbnMgPSBbXQpyZW5kZXIuX3dpdGhTdHJpcHBlZCA9IHRydWUKCmV4cG9ydCB7IHJlbmRlciwgc3RhdGljUmVuZGVyRm5zIH0="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/3b95d3c4394f0d4e80efe421094bc103.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/3b95d3c4394f0d4e80efe421094bc103.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/EditPage.vue?vue&type=template&id=747ef394&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/EditPage.vue","mtime":1594989886747},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKAogICAgImRpdiIsCiAgICBfdm0uX2woX3ZtLmFydGljbGVzLCBmdW5jdGlvbihhcnRpY2xlKSB7CiAgICAgIHJldHVybiBfYygiZGl2IiwgeyBrZXk6IGFydGljbGUuaWQsIHN0YXRpY0NsYXNzOiAiY2FyZCIgfSwgWwogICAgICAgIF9jKCJpbWciLCB7CiAgICAgICAgICBzdGF0aWNDbGFzczogImNhcmQtaW1nLXRvcCIsCiAgICAgICAgICBhdHRyczogeyBzcmM6IHJlcXVpcmUoIi4uL2Fzc2V0cy9xdWVzdGlvbiIpIH0KICAgICAgICB9KSwKICAgICAgICBfYygiZGl2IiwgeyBzdGF0aWNDbGFzczogImNhcmQtYm9keSIgfSwgWwogICAgICAgICAgX2MoImg1IiwgeyBzdGF0aWNDbGFzczogImNhcmQtdGl0bGUiIH0sIFsKICAgICAgICAgICAgX3ZtLl92KF92bS5fcyhhcnRpY2xlLnRpdGxlKSkKICAgICAgICAgIF0pLAogICAgICAgICAgX2MoInAiLCB7IHN0YXRpY0NsYXNzOiAiY2FyZC10ZXh0IiB9LCBbCiAgICAgICAgICAgIF92bS5fdigiIGJ5ICIgKyBfdm0uX3MoYXJ0aWNsZS5hdXRob3IpKQogICAgICAgICAgXSksCiAgICAgICAgICBfYygKICAgICAgICAgICAgImEiLAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6ICJidG4gYnRuLXByaW1hcnkiLAogICAgICAgICAgICAgIGF0dHJzOiB7IGhyZWY6ICIjIiB9LAogICAgICAgICAgICAgIG9uOiB7CiAgICAgICAgICAgICAgICBjbGljazogZnVuY3Rpb24oJGV2ZW50KSB7CiAgICAgICAgICAgICAgICAgICRldmVudC5wcmV2ZW50RGVmYXVsdCgpCiAgICAgICAgICAgICAgICAgIHJldHVybiBfdm0ubG9hZENvbnRlbnQoYXJ0aWNsZS5pZCkKICAgICAgICAgICAgICAgIH0KICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIFtfdm0uX3YoIiBFZGl0ICIpXQogICAgICAgICAgKQogICAgICAgIF0pCiAgICAgIF0pCiAgICB9KSwKICAgIDAKICApCn0KdmFyIHN0YXRpY1JlbmRlckZucyA9IFtdCnJlbmRlci5fd2l0aFN0cmlwcGVkID0gdHJ1ZQoKZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfQ=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/3d0585d55f1d9e48d60e8171fde73002.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/3d0585d55f1d9e48d60e8171fde73002.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/PublishedPage.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishedPage.vue","mtime":1594991999773},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBWdWVNYXJrZG93biBmcm9tICcuLi8uLi9ub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b3dubG9hZC1idXR0b24nKQoKICAgICAgLy8gYWRkIHRoZSBmaWxlIHVybAogICAgICBsaW5rRWxlbWVudC5zZXRBdHRyaWJ1dGUoJ2hyZWYnLCBmaWxlVVJMKQogICAgICBsaW5rRWxlbWVudC5pbm5lckhUTUwgPSAnUmVhZHkgIScKICAgICAgbGlua0VsZW1lbnQuc2V0QXR0cmlidXRlKCdkb3dubG9hZCcsICdhcnRpY2xlLm1kJykKICAgICAgdGhpcy5yZWFkeSA9IHRydWUKICAgIH0sCiAgfQp9Cg=="},{"version":3,"sources":["PublishedPage.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAgBA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"PublishedPage.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <p class='alert alert-primary' id='published-message'>Your article was published !</p>\n <a @click.prevent.once='generateMDFile' value='Download .md file' class='btn btn-secondary' id='download-button'>Download !</a>\n <br>\n <hr>\n <br>\n <span>{{ author }} wrote </span>on {{ date_created }}:</span>\n <hr>\n <h1 id='article-title'>{{ title}}</h1>\n <vue-markdown :source='articleText'></vue-markdown>\n\n </div>\n</template>\n\n<script>\nimport VueMarkdown from '../../node_modules/vue-markdown/src/VueMarkdown.js'\n\nexport default {\n components: {\n VueMarkdown,\n },\n name: 'PublishedPage',\n props: {\n },\n data: function(){\n return {\n ready: false,\n }\n },\n computed: {\n articleText () {\n return this.$store.state.article.content\n },\n author () {\n return this.$store.state.article.meta.author\n },\n date_created () {\n return this.$store.state.article.meta.date_created\n },\n title () {\n return this.$store.state.article.meta.title\n }\n },\n methods : {\n generateMDFile : function(){\n if(this.ready){\n return\n }\n let file = new Blob(\n [this.articleText],\n {type: 'text/text'}\n )\n let fileURL = URL.createObjectURL(file)\n // create the link\n const linkElement = document.getElementById('download-button')\n\n // add the file url\n linkElement.setAttribute('href', fileURL)\n linkElement.innerHTML = 'Ready !'\n linkElement.setAttribute('download', 'article.md')\n this.ready = true\n },\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n#published-message {\n max-width: 80%;\n display: block;\n text-align: center;\n}\n\nhr {\n max-width: 80%;\n margin: 50px;\n}\n\n#article-title:before {\n content: \"« \"\n}\n\n#article-title:after {\n content: \" »\"\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/3e6f20fc7cb3dd53c3320335ce13fc24.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/3e6f20fc7cb3dd53c3320335ce13fc24.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/MdRender.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","mtime":1594304495794},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KCgoKZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICdNZFJlbmRlcicsCiAgcHJvcHM6IHsKICAgIGJhcmV0ZXh0OiB7CiAgICAgIHR5cGU6IFN0cmluZywKICAgICAgcmVxdWlyZWQ6IHRydWUsCiAgICAgIGRlZmF1bHQ6ICIgIgogICAgfQogIH0sCiAgY29tcHV0ZWQ6IHsKICAgIHJlbmRlcmVkX2NvbXB1dGUgOiBmdW5jdGlvbigpewogICAgICAgIHJldHVybiBtZC50b0hUTUwodGhpcy5iYXJldGV4dCkKICAgIH0KICB9LAogIG1vdW50ZWQoKSB7CiAgICAvLyBJbmNsdWRlIFNob3dkb3duLCBNRCB0byBIVE1MIGxpYnJhcnkgKGh0dHBzOi8vZ2l0aHViLmNvbS9zaG93ZG93bmpzL3Nob3dkb3duKSBmcm9tIENETgogICAgbGV0IHNkU2NyaXB0ID0gZG9jdW1lbnQuY3JlYXRlZEVsZW1lbnQoJ3NjcmlwdCcpCiAgICBzZFNjcmlwdC5zZXRBdHRyaWJ1dGUoJ3NyYycsICdodHRwczovL2Nkbi5qc2RlbGl2ci5uZXQvbnBtL3Nob3dkb3duQDEuOS4wL2Rpc3Qvc2hvd2Rvd24ubWluLmpzJykKICAgIGRvY3VtZW50LmhlYWQuYXBwZW5kQ2hpbGQoc2RTY3JpcHQpCiAgfQp9Cg=="},{"version":3,"sources":["MdRender.vue"],"names":[],"mappings":";;;;;;;;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"MdRender.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <p> {{ rendered_compute }}</p>\n </div>\n</template>\n\n<script>\n\n\nexport default {\n name: 'MdRender',\n props: {\n baretext: {\n type: String,\n required: true,\n default: \" \"\n }\n },\n computed: {\n rendered_compute : function(){\n return md.toHTML(this.baretext)\n }\n },\n mounted() {\n // Include Showdown, MD to HTML library (https://github.com/showdownjs/showdown) from CDN\n let sdScript = document.createdElement('script')\n sdScript.setAttribute('src', 'https://cdn.jsdelivr.net/npm/showdown@1.9.0/dist/showdown.min.js')\n document.head.appendChild(sdScript)\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/40966136fae3ecf2eabc4eebda2e3b72.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/40966136fae3ecf2eabc4eebda2e3b72.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594995737947},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL1VzZXJJbnB1dC52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ9NmU4MjgwNzQmc2NvcGVkPXRydWUmIgppbXBvcnQgc2NyaXB0IGZyb20gIi4vVXNlcklucHV0LnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmV4cG9ydCAqIGZyb20gIi4vVXNlcklucHV0LnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmltcG9ydCBzdHlsZTAgZnJvbSAiLi9Vc2VySW5wdXQudnVlP3Z1ZSZ0eXBlPXN0eWxlJmluZGV4PTAmaWQ9NmU4MjgwNzQmc2NvcGVkPXRydWUmbGFuZz1jc3MmIgoKCi8qIG5vcm1hbGl6ZSBjb21wb25lbnQgKi8KaW1wb3J0IG5vcm1hbGl6ZXIgZnJv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ZGVyRm5zOiBzdGF0aWNSZW5kZXJGbnMKICAgICAgfSkKICAgIH0pCiAgfQp9CmNvbXBvbmVudC5vcHRpb25zLl9fZmlsZSA9ICJjb21wb25lbnRzL1VzZXJJbnB1dC52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/41f5c8857dd05cf92fdb08e7f6bb8f53.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/41f5c8857dd05cf92fdb08e7f6bb8f53.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/Publish.vue?vue&type=style&index=0&id=5f7953f8&scoped=true&lang=css&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/Publish.vue","mtime":1594806919021},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCmlucHV0W3R5cGU9YnV0dG9uXXsKICBmb250LXdlaWdodDogYm9sZDsKfQo="},{"version":3,"sources":["Publish.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA;AACA;AACA","file":"Publish.vue","sourceRoot":"components","sourcesContent":["<template>\n <router-link to='/publish'>Publish !</router-link>\n</template>\n\n<script>\nexport default {\n name: 'Publish',\n props: {\n },\n data: function(){\n return {\n }\n },\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n\ninput[type=button]{\n font-weight: bold;\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/46d5df7ed8fa30f62e87f7f54e227757.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/46d5df7ed8fa30f62e87f7f54e227757.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594996724804},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL0FwcC52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ9NDcyY2ZmNjMmIgppbXBvcnQgc2NyaXB0IGZyb20gIi4vQXBwLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmV4cG9ydCAqIGZyb20gIi4vQXBwLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmltcG9ydCBzdHlsZTAgZnJvbSAiLi9BcHAudnVlP3Z1ZSZ0eXBlPXN0eWxlJmluZGV4PTAmbGFuZz1jc3MmIgoKCi8qIG5vcm1h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gICAgICAgc3RhdGljUmVuZGVyRm5zOiBzdGF0aWNSZW5kZXJGbnMKICAgICAgfSkKICAgIH0pCiAgfQp9CmNvbXBvbmVudC5vcHRpb25zLl9fZmlsZSA9ICJBcHAudnVlIgpleHBvcnQgZGVmYXVsdCBjb21wb25lbnQuZXhwb3J0cw=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/5a6efe0c35c96d40b9e6b1cd5fd42554.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/5a6efe0c35c96d40b9e6b1cd5fd42554.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/UserInput.vue?vue&type=template&id=6e828074&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594302288816},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKCJkaXYiLCBbCiAgICBfYygidGV4dGFyZWEiLCB7CiAgICAgIGRpcmVjdGl2ZXM6IFsKICAgICAgICB7CiAgICAgICAgICBuYW1lOiAibW9kZWwiLAogICAgICAgICAgcmF3TmFtZTogInYtbW9kZWwiLAogICAgICAgICAgdmFsdWU6IF92bS5zb21ldGV4dCwKICAgICAgICAgIGV4cHJlc3Npb246ICJzb21ldGV4dCIKICAgICAgICB9CiAgICAgIF0sCiAgICAgIGF0dHJzOiB7IHBsYWNlaG9sZGVyOiAiZWRpdCBtZSIsIGlkOiAidGV4dGJveCIgfSwKICAgICAgZG9tUHJvcHM6IHsgdmFsdWU6IF92bS5zb21ldGV4dCB9LAogICAgICBvbjogewogICAgICAgIGlucHV0OiBmdW5jdGlvbigkZXZlbnQpIHsKICAgICAgICAgIGlmICgkZXZlbnQudGFyZ2V0LmNvbXBvc2luZykgewogICAgICAgICAgICByZXR1cm4KICAgICAgICAgIH0KICAgICAgICAgIF92bS5zb21ldGV4dCA9ICRldmVudC50YXJnZXQudmFsdWUKICAgICAgICB9CiAgICAgIH0KICAgIH0pCiAgXSkKfQp2YXIgc3RhdGljUmVuZGVyRm5zID0gW10KcmVuZGVyLl93aXRoU3RyaXBwZWQgPSB0cnVlCgpleHBvcnQgeyByZW5kZXIsIHN0YXRpY1JlbmRlckZucyB9"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/62e715d11f80aae9760474a4ed191664.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/62e715d11f80aae9760474a4ed191664.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/UserInput.vue?vue&type=template&id=6e828074&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594301334474},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uICgpIHt9CnZhciBzdGF0aWNSZW5kZXJGbnMgPSBbXQoKZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfQ=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/67ecb47f4f4e11f357c6d86c4b622c7e.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/67ecb47f4f4e11f357c6d86c4b622c7e.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue","mtime":1594996818818},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBWdWVNYXJrZG93biBmcm9tICcuLi8uLi9ub2RlX21vZHVsZXMvdnVlLW1hcmtkb3duL3NyYy9WdWVNYXJrZG93bi5qcycKaW1wb3J0IFVzZXJJbnB1dCBmcm9tICcuL1VzZXJJbnB1dC52dWUnCmltcG9ydCBQdWJsaXNoQnV0dG9uIGZyb20gJy4vUHVibGlzaEJ1dHRvbi52dWUnCmltcG9ydCBBcnRpY2xlRm9ybSBmcm9tICcuL0FydGljbGVGb3JtLnZ1ZScKCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnVXNlcklucHV0UGFnZScsCiAgY29tcG9uZW50czogewogICAgVnVlTWFya2Rvd24sCiAgICBVc2VySW5wdXQsCiAgICBQdWJsaXNoQnV0dG9uLAogICAgQXJ0aWNsZUZvcm0sCiAgfSwKICBwcm9wczogewogIH0sCiAgZGF0YTogZnVuY3Rpb24oKSB7CiAgICByZXR1cm57CiAgICAgIHVzZXJ0ZXh0OiAnJywKICAgIH0KICB9LAogIGNvbXB1dGVkOiB7CiAgICBhcnRpY2xlVGV4dCgpIHsKICAgICAgcmV0dXJuIHRoaXMuJHN0b3JlLnN0YXRlLmFydGljbGUuY29udGVudAogICAgfQogIH0sCiAgbWV0aG9kczogewogICAgLy8gc2F2ZXMgYXJ0aWNsZSBjb250ZW50CiAgICBhcnRpY2xlVXBhdGUgOiBmdW5jdGlvbigpIHsKICAgICAgdGhpcy4kcm91dGVyLnB1c2goJy9wdWJsaXNoZWQnKQogICAgfSwKICB9Cn0K"},{"version":3,"sources":["UserInputPage.vue"],"names":[],"mappings":";;;;;;;;;;AAUA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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 // saves article content\n articleUpate : function() {\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"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/69c65cb7075d58d72738c7913923aad3.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/69c65cb7075d58d72738c7913923aad3.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/PublishButton.vue?vue&type=template&id=74272f56&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishButton.vue","mtime":1594997143933},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKCJpbnB1dCIsIHsKICAgIHN0YXRpY0NsYXNzOiAiYnRuIGJ0bi1wcmltYXJ5IiwKICAgIGF0dHJzOiB7IHR5cGU6ICJidXR0b24iLCB2YWx1ZTogIlB1Ymxpc2ghIiB9LAogICAgb246IHsKICAgICAgY2xpY2s6IGZ1bmN0aW9uKCRldmVudCkgewogICAgICAgICRldmVudC5wcmV2ZW50RGVmYXVsdCgpCiAgICAgICAgcmV0dXJuIF92bS51cGRhdGVUZXh0KCRldmVudCkKICAgICAgfQogICAgfQogIH0pCn0KdmFyIHN0YXRpY1JlbmRlckZucyA9IFtdCnJlbmRlci5fd2l0aFN0cmlwcGVkID0gdHJ1ZQoKZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfQ=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/6a1ce64bce2591a05a7254fd17ce8476.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/6a1ce64bce2591a05a7254fd17ce8476.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/MdRender.vue?vue&type=template&id=50583030&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","mtime":1594306153901},{"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/loaders/templateLoader.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:CjxkaXY+CiAgPHA+IHt7IHJlbmRlcmVkX2NvbXB1dGUgfX08L3A+CjwvZGl2Pgo="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/6b6ff67e3563f49f9b371d46fadc64ca.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/6b6ff67e3563f49f9b371d46fadc64ca.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","mtime":1594304495794},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL01kUmVuZGVyLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD01MDU4MzAzMCZzY29wZWQ9dHJ1ZSYiCmltcG9ydCBzY3JpcHQgZnJvbSAiLi9NZFJlbmRlci52dWU/dnVlJnR5cGU9c2NyaXB0J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dGUmaWQ9NTA1ODMwMzAmc2NvcGVkPXRydWUmIiwgZnVuY3Rpb24gKCkgewogICAgICBhcGkucmVyZW5kZXIoJzUwNTgzMDMwJywgewogICAgICAgIHJlbmRlcjogcmVuZGVyLAogICAgICAgIHN0YXRpY1JlbmRlckZuczogc3RhdGljUmVuZGVyRm5zCiAgICAgIH0pCiAgICB9KQogIH0KfQpjb21wb25lbnQub3B0aW9ucy5fX2ZpbGUgPSAiY29tcG9uZW50cy9NZFJlbmRlci52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/6faad6d3052514749f38e7e07a286793.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/6faad6d3052514749f38e7e07a286793.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/ArticleForm.vue?vue&type=template&id=54c8f062&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/ArticleForm.vue","mtime":1594997434690},{"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/loaders/templateLoader.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:Cjxmb3JtPgogIDxkaXYgY2xhc3M9J2Zvcm0tZ3JvdXAnPgogICAgPGxhYmVsIGZvcj0nYXV0aG9yJz5BdXRob3I8L2xhYmVsPgogICAgPGlucHV0IHYtbW9kZWw9J2F1dGhvcicgdH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A8bGFiZWwgZm9yPSdtZXRhLXRpdGxlJz5tZXRhIHRpdGxlPC9sYWJlbD4KICAgIDxpbnB1dCB2LW1vZGVsPSd0aXRsZScgdHlwZT0ndGV4dCcgbmFtZT0nbWV0YS10aXRsZScgaWQ9J21ldGEtdGl0bGUnIHBsYWNlaG9sZGVyPSJXaGF0J3MgdXAgPyIgY2xhc3M9J2Zvcm0tY29udHJvbCBmb3JtLWNvbnRyb2wtbGcnPgogIDwvZGl2Pgo8L2Zvcm0+Cg=="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/7792c8b475fbc862cb809223071dd062.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/7792c8b475fbc862cb809223071dd062.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/UserInput.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594302288816},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnVXNlcklucHV0JywKICBwcm9wczogewogIH0sCiAgZGF0YTogZnVuY3Rpb24oKXsKICAgIHJldHVybiB7CiAgICAgICAgc29tZXRleHQ6ICcnLAogICAgfQogIH0sCiAgd2F0Y2g6IHsKICAgIHNvbWV0ZXh0OiBmdW5jdGlvbigpewogICAgICAgIHRoaXMuJGVtaXQoJ3VzZXItdXBkYXRlJywgewogICAgICAgICAgICAndXNlcnRleHQnOiB0aGlzLnNvbWV0ZXh0CiAgICAgICAgfSk7CiAgICB9CiAgfQp9Cg=="},{"version":3,"sources":["UserInput.vue"],"names":[],"mappings":";;;;;;;;AAQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"UserInput.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <textarea v-model=\"sometext\" placeholder=\"edit me\" id='textbox'>\n </textarea>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'UserInput',\n props: {\n },\n data: function(){\n return {\n sometext: '',\n }\n },\n watch: {\n sometext: function(){\n this.$emit('user-update', {\n 'usertext': this.sometext\n });\n }\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\ntextarea {\n width: 40%;\n height: 500px;\n background-color: #f2f2f2;\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/7939e86aaaf76f8a9e8ce448a5829302.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/7939e86aaaf76f8a9e8ce448a5829302.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/UserInput.vue?vue&type=style&index=0&id=6e828074&scoped=true&lang=css&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594995743735},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCnRleHRhcmVhewogIHdpZHRoOiA4MCU7CiAgaGVpZ2h0OiA4MDBweDsKICByZXNpemUgOiBub25lOwogIHBhZGRpbmc6IDEycHggMjBweDsKICBtYXJnaW4tYm90dG9tOiA1MHB4OwogIGJvcmRlcjogMnB4IHNvbGlkIHJlZDsKICBib3JkZXItcmFkaXVzOiA0cHg7Cn0K"},{"version":3,"sources":["UserInput.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"UserInput.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <textarea v-model='userInput' placeholder=\"edit me\" id='textbox'></textarea>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'UserInput',\n props: {\n },\n data: function(){\n return {\n userInput: articleText\n }\n },\n computed :{\n articleText () {\n return this.$store.state.article.content\n }\n },\n watch: {\n articleText: function(){\n this.$store.commit('updateText', this.articleText)\n }\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\ntextarea{\n width: 80%;\n height: 800px;\n resize : none;\n padding: 12px 20px;\n margin-bottom: 50px;\n border: 2px solid red;\n border-radius: 4px;\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/7add16f8987f4c40c74b439c30925a2a.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/7add16f8987f4c40c74b439c30925a2a.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/App.vue?vue&type=template&id=472cff63&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594996724804},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKAogICAgImRpdiIsCiAgICB7IGF0dHJzOiB7IGlkOiAibWFpbi1jb250ZW50IiB9IH0sCiAgICBbCiAgICAgIF9jKCJkaXYiLCB7IGF0dHJzOiB7IGlkOiAidG9wLWJhbmQiIH0gfSksCiAgICAgIF9jKCJ1bCIsIHsgc3RhdGljQ2xhc3M6ICJuYXYiIH0sIFsKICAgICAgICBfYygKICAgICAgICAgICJsaSIsCiAgICAgICAgICB7IHN0YXRpY0NsYXNzOiAibmF2LWl0ZW0iIH0sCiAgICAgICAgICBbCiAgICAgICAgICAgIF9jKAogICAgICAgICAgICAgICJyb3V0ZXItbGluayIsCiAgICAgICAgICAgICAgeyBzdGF0aWNDbGFzczogIm5hdi1saW5rIiwgYXR0cnM6IHsgdG86ICIvZWRpdCIgfSB9LAogICAgICAgICAgICAgIFtfdm0uX3YoIkVkaXQgYW4gYXJ0aWNsZSIpXQogICAgICAgICAgICApCiAgICAgICAgICBdLAogICAgICAgICAgMQogICAgICAgICksCiAgICAgICAgX2MoImxpIiwgeyBzdGF0aWNDbGFzczogIm5hdi1pdGVtIiB9LCBbCiAgICAgICAgICBfYygKICAgICAgICAgICAgImEiLAogICAgICAgICAgICB7CiAgICAgICAgICAgICAgc3RhdGljQ2xhc3M6ICJuYXYtbGluayIsCiAgICAgICAgICAgICAgYXR0cnM6IHsgaHJlZjogIiMiIH0sCiAgICAgICAgICAgICAgb246IHsgY2xpY2s6IF92bS5yZXNldEluZm9zIH0KICAgICAgICAgICAgfSwKICAgICAgICAgICAgW192bS5fdigiTmV3IGFydGljbGUiKV0KICAgICAgICAgICkKICAgICAgICBdKQogICAgICBdKSwKICAgICAgX2MoImJyIiksCiAgICAgIF9jKCJiciIpLAogICAgICBfYygKICAgICAgICAidHJhbnNpdGlvbiIsCiAgICAgICAgeyBhdHRyczogeyBuYW1lOiAiZmFkZSIgfSB9LAogICAgICAgIFtfYygicm91dGVyLXZpZXciLCB7IGF0dHJzOiB7IGlkOiAic3ViLWNvbnRlbnQiIH0gfSldLAogICAgICAgIDEKICAgICAgKQogICAgXSwKICAgIDEKICApCn0KdmFyIHN0YXRpY1JlbmRlckZucyA9IFtdCnJlbmRlci5fd2l0aFN0cmlwcGVkID0gdHJ1ZQoKZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfQ=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/7c7ef837a9ac653f405c0fab2dbad6cd.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/7c7ef837a9ac653f405c0fab2dbad6cd.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/PublishPage.vue?vue&type=template&id=1018a733&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishPage.vue","mtime":1594807184095},{"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/loaders/templateLoader.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:CjxkaXY+WW91J3JlIG9uIHRoZSBwdWJsaXNoIHBhZ2U8L2Rpdj4K"},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/7cd31e7915743602c90310a7e53dfa6c.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/7cd31e7915743602c90310a7e53dfa6c.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/ArticleForm.vue?vue&type=style&index=0&id=54c8f062&scoped=true&lang=css&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/ArticleForm.vue","mtime":1594997430814},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKZm9ybSB7CiAgZGlzcGxheTogYmxvY2s7CiAgbWFyZ2luLWJvdHRvbTogNTBweDsKICB3aWR0aDogNTAlOwp9Cgpmb3JtID4gZGl2ID4gaW5wdXQgewogIG1heC13aWR0aDogNTAlOwp9CgoudG9kYXktYnV0dG9uIHsKICBib3JkZXI6IHNvbGlkOwogIGJvcmRlci13aWR0aDogMXB4OwogIGRpc3BsYXk6IGlubGluZS1ibG9jazsKfQo="},{"version":3,"sources":["ArticleForm.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiFA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA","file":"ArticleForm.vue","sourceRoot":"components","sourcesContent":["<template>\n <form>\n <div class='form-group'>\n <label for='author'>Author</label>\n <input v-model='author' type='text' name='author' id='author' placeholder=\"John Doe\" class='form-control form-control-lg'>\n </div>\n <div class='form-group'>\n <label for='date-published'>Publication date</label>\n <input v-model='date_created' type='date' name='date-published' id='date-published' class='form-control form-control-sm'>\n <input type='button' class='btn btn-default today-button' @click.prevent=\"setToday(1)\" value='today'><br>\n </div>\n\n <div class='form-group'>\n <label for='date-modified'>Modification date</label>\n <input v-model='date_modified' type='date' name='date-modified' id='date-modified' class='form-control form-control-sm'>\n <input type='button' class='btn btn-default today-button' @click.prevent=\"setToday(2)\" value='today'><br>\n </div>\n <div class='form-group'>\n <label for='meta-title'>meta title</label>\n <input v-model='title' type='text' name='meta-title' id='meta-title' placeholder=\"What's up ?\" class='form-control form-control-lg'>\n </div>\n </form>\n</template>\n\n<script>\nexport default {\n name: 'metaForm',\n props: {\n },\n computed: {\n author (){\n return this.$store.state.article.meta.author\n },\n date_modified (){\n return this.$store.state.article.meta.date_modified\n },\n date_created (){\n return this.$store.state.article.meta.date_created\n },\n title (){\n return this.$store.state.article.meta.title\n },\n meta (){\n return {\n \"author\": this.author,\n \"date_created\": this.date_created,\n \"date_modified\": this.date_modified,\n \"title\": this.title\n }\n }\n },\n watch: {\n author: function(){\n this.sendMeta()\n },\n title: function(){\n this.sendMeta()\n },\n date_created: function(){\n this.sendMeta()\n },\n date_modified: function(){\n this.$store.commit('updateMeta', this.meta)\n },\n },\n methods : {\n // WIP : sets meta date to today.\n // params: date= 1 => set date_created\n // date = 2 => set date_modified\n setToday : function(date) {\n this.$store.commit('today', date)\n },\n sendMeta: function(){\n this.$store.commit('updateMeta', this.meta)\n }\n }\n\n}\n</script>\n\n<style scoped>\nform {\n display: block;\n margin-bottom: 50px;\n width: 50%;\n}\n\nform > div > input {\n max-width: 50%;\n}\n\n.today-button {\n border: solid;\n border-width: 1px;\n display: inline-block;\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/8a899e9a038bf2ff4ad46d0339efa987.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/8a899e9a038bf2ff4ad46d0339efa987.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/MdRender.vue?vue&type=template&id=50583030&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","mtime":1594306153901},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKCJkaXYiLCBbX2MoInAiLCBbX3ZtLl92KCIgIiArIF92bS5fcyhfdm0ucmVuZGVyZWRfY29tcHV0ZSkpXSldKQp9CnZhciBzdGF0aWNSZW5kZXJGbnMgPSBbXQpyZW5kZXIuX3dpdGhTdHJpcHBlZCA9IHRydWUKCmV4cG9ydCB7IHJlbmRlciwgc3RhdGljUmVuZGVyRm5zIH0="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/93b4a74049a6e01394cbba1b00707e47.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/93b4a74049a6e01394cbba1b00707e47.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/App.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594996724804},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCgpleHBvcnQgZGVmYXVsdCB7CiAgbmFtZTogJ0FwcCcsCiAgY29tcG9uZW50czogewogIH0sCiAgZGF0YTogZnVuY3Rpb24oKSB7CiAgICByZXR1cm57CiAgICB9CiAgfSwKICBtZXRob2RzOiB7CiAgICAvLyByZXNldCBhbGwgY3VycmVudCBjb250ZW50IGFuZCBtZXRhZGF0YQogICAgcmVzZXRJbmZvczogZnVuY3Rpb24oKSB7CiAgICAgIHRoaXMuJHN0b3JlLmNvbW1pdCgncmVzZXRBbGwnKQogICAgICB0aGlzLiRyb3V0ZXIucHVzaCgnL3dyaXRlJykKICAgIH0KICB9Cn0K"},{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"App.vue","sourceRoot":".","sourcesContent":["<template>\n <div id='main-content'>\n <div id='top-band'></div>\n <ul class='nav'>\n <li class='nav-item'>\n <router-link to='/edit' class='nav-link'>Edit an article</router-link>\n </li>\n <li class='nav-item'>\n <a href='#' @click='resetInfos' class='nav-link'>New article</a>\n </li>\n </ul>\n <br>\n <br>\n <transition name=\"fade\">\n <router-view id='sub-content'></router-view>\n </transition>\n </div>\n</template>s\n\n<script>\n\nexport default {\n name: 'App',\n components: {\n },\n data: function() {\n return{\n }\n },\n methods: {\n // reset all current content and metadata\n resetInfos: function() {\n this.$store.commit('resetAll')\n this.$router.push('/write')\n }\n }\n}\n</script>\n\n<style>\n* {\n font-family: \"Gill Sans Extrabold\", sans-serif;\n}\n\n.column {\n width: 50%;\n float: left;\n}\n\n#main-content {\n height: 100%;\n}\n\n#sub-content {\n margin-left: 50px\n}\n\n#render-area {\n padding-bottom : 50px;\n}\n\n#top-band {\n width:100%;\n height:40px;\n background : linear-gradient(#e6e6ff, #ffffff);\n}\n\n.fade-enter-active, .fade-leave-active {\n transition: opacity .5s;\n}\n.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {\n opacity: 0;\n}\n\n</style>"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/972a790b4870cb9c12e29a6d1891b9ef.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/972a790b4870cb9c12e29a6d1891b9ef.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishPage.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishPage.vue","mtime":1594807184095},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL1B1Ymxpc2hQYWdlLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD0xMDE4YTczMyZzY29wZWQ9dHJ1ZSYiCmltcG9ydCBzY3JpcHQgZnJvbSAiLi9QdWJsaXNoUGFnZS52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmIgpleHBvcnQgKiBmcm9tICIuL1B1Ymxpc2hQYWdlLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCgoKLyogbm9ybWF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ICAgICAgIHJlbmRlcjogcmVuZGVyLAogICAgICAgIHN0YXRpY1JlbmRlckZuczogc3RhdGljUmVuZGVyRm5zCiAgICAgIH0pCiAgICB9KQogIH0KfQpjb21wb25lbnQub3B0aW9ucy5fX2ZpbGUgPSAiY29tcG9uZW50cy9QdWJsaXNoUGFnZS52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/98c962220972641b5d475bd84bfb2054.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/98c962220972641b5d475bd84bfb2054.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594302288816},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL1VzZXJJbnB1dC52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ9NmU4MjgwNzQmc2NvcGVkPXRydWUmIgppbXBvcnQgc2NyaXB0IGZyb20gIi4vVXNlcklucHV0LnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmV4cG9ydCAqIGZyb20gIi4vVXNlcklucHV0LnZ1ZT92dWUmdHlwZT1zY3JpcH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hvdC5hY2NlcHQoIi4vVXNlcklucHV0LnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD02ZTgyODA3NCZzY29wZWQ9dHJ1ZSYiLCBmdW5jdGlvbiAoKSB7CiAgICAgIGFwaS5yZXJlbmRlcignNmU4MjgwNzQnLCB7CiAgICAgICAgcmVuZGVyOiByZW5kZXIsCiAgICAgICAgc3RhdGljUmVuZGVyRm5zOiBzdGF0aWNSZW5kZXJGbnMKICAgICAgfSkKICAgIH0pCiAgfQp9CmNvbXBvbmVudC5vcHRpb25zLl9fZmlsZSA9ICJjb21wb25lbnRzL1VzZXJJbnB1dC52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/9cef0b0637ad949d5817eb9054cbbbe1.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/9cef0b0637ad949d5817eb9054cbbbe1.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/Publish.vue?vue&type=template&id=5f7953f8&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/Publish.vue","mtime":1594806919021},{"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/loaders/templateLoader.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:Cjxyb3V0ZXItbGluayB0bz0nL3B1Ymxpc2gnPlB1Ymxpc2ggITwvcm91dGVyLWxpbms+Cg=="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/a0c6e06abd3e038906111429e6fd2efd.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/a0c6e06abd3e038906111429e6fd2efd.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/PublishPage.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishPage.vue","mtime":1594807184095},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnUHVibGlzaFBhZ2UnLAogIHByb3BzOiB7CiAgfSwKICBkYXRhOiBmdW5jdGlvbigpewogICAgcmV0dXJuIHsKICAgIH0KICB9LAp9Cg=="},{"version":3,"sources":["PublishPage.vue"],"names":[],"mappings":";;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"PublishPage.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>You're on the publish page</div>\n</template>\n\n<script>\nexport default {\n name: 'PublishPage',\n props: {\n },\n data: function(){\n return {\n }\n },\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/aea081adaa81c50ca7d520c4de86fd63.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/aea081adaa81c50ca7d520c4de86fd63.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/MdRender.vue?vue&type=template&id=50583030&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","mtime":1594304495794},{"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/loaders/templateLoader.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:CjxkaXY+CiAgPHA+IHt7IHJlbmRlcmVkX2NvbXB1dGUgfX08L3A+CjwvZGl2Pgo="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/af98416ad1851749cc028d235a89e14c.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/af98416ad1851749cc028d235a89e14c.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594302312575},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/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ZVJlY29yZCgnNDcyY2ZmNjMnLCBjb21wb25lbnQub3B0aW9ucykKICAgIH0gZWxzZSB7CiAgICAgIGFwaS5yZWxvYWQoJzQ3MmNmZjYzJywgY29tcG9uZW50Lm9wdGlvbnMpCiAgICB9CiAgICBtb2R1bGUuaG90LmFjY2VwdCgiLi9BcHAudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTQ3MmNmZjYzJiIsIGZ1bmN0aW9uICgpIHsKICAgICAgYXBpLnJlcmVuZGVyKCc0NzJjZmY2MycsIHsKICAgICAgICByZW5kZXI6IHJlbmRlciwKICAgICAgICBzdGF0aWNSZW5kZXJGbnM6IHN0YXRpY1JlbmRlckZucwogICAgICB9KQogICAgfSkKICB9Cn0KY29tcG9uZW50Lm9wdGlvbnMuX19maWxlID0gIkFwcC52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/b79fccfadb76e367e7a8a609e458ae0f.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/b79fccfadb76e367e7a8a609e458ae0f.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/UserInput.vue?vue&type=style&index=0&id=6e828074&scoped=true&lang=css&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594302288816},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgp0ZXh0YXJlYSB7CiAgd2lkdGg6IDQwJTsKICBoZWlnaHQ6IDUwMHB4OwogIGJhY2tncm91bmQtY29sb3I6ICNmMmYyZjI7Cn0K"},{"version":3,"sources":["UserInput.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA;AACA;AACA;AACA;AACA","file":"UserInput.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <textarea v-model=\"sometext\" placeholder=\"edit me\" id='textbox'>\n </textarea>\n </div>\n</template>\n\n<script>\nexport default {\n name: 'UserInput',\n props: {\n },\n data: function(){\n return {\n sometext: '',\n }\n },\n watch: {\n sometext: function(){\n this.$emit('user-update', {\n 'usertext': this.sometext\n });\n }\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\ntextarea {\n width: 40%;\n height: 500px;\n background-color: #f2f2f2;\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/b8c777ada8564f28a5d2b599ff149f31.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/b8c777ada8564f28a5d2b599ff149f31.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishedPage.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishedPage.vue","mtime":1594991999773},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL1B1Ymxpc2hlZFBhZ2UudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTZhYmZmOWQyJnNjb3BlZD10cnVlJiIKaW1wb3J0IHNjcmlwdCBmcm9tICIuL1B1Ymxpc2hlZFBhZ2UudnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJiIKZXhwb3J0ICogZnJvbSAiLi9QdWJsaXNoZWRQYWdlLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmltcG9ydCBzdHlsZTAgZnJvbSAiLi9QdWJsaXNoZWRQYWdlLnZ1ZT92dWUmdHlwZT1zdHlsZSZpbmRleD0wJmlkPTZhYmZmOWQyJnNjb3BlZD10cnVlJmxhbmc9Y3NzJiIKCgovKiBub3JtYWxpemUgY29tcG9uZW50ICovCmltcG9ydCBub3JtYWxpemVyIGZyb20gIiEuLi8uLi8uLi8uLi8uLi8uLi8uLi91c3IvbG9jYWwvbGliL25vZGVfbW9kdWxlcy9AdnVlL2NsaS1zZXJ2aWNlLWdsb2JhbC9ub2RlX21vZHVsZXMvdnVlLWxvYWRlci9saWIvcnVudGltZS9jb21wb25lbnROb3JtYWxpemVyLmpzIgp2YXIgY29tcG9uZW50ID0gbm9ybWFsaXplcigKICBzY3JpcHQsCiAgcmVuZGVyLAogIHN0YXRpY1JlbmRlckZucywKICBmYWxzZSwKICBudWxsLAogICI2YWJmZjlkMiIsCiAgbnVsbAogIAopCgovKiBob3QgcmVsb2FkICovCmlmIChtb2R1bGUuaG90KSB7CiAgdmFyIGFwaSA9IHJlcXVpcmUoIi91c3IvbG9jYWwvbGliL25vZGVfbW9kdWxlcy9AdnVlL2NsaS1zZXJ2aWNlLWdsb2JhbC9ub2RlX21vZHVsZXMvdnVlLWhvdC1yZWxvYWQtYXBpL2Rpc3QvaW5kZXguanMiKQogIGFwaS5pbnN0YWxsKHJlcXVpcmUoJ3Z1ZScpKQogIGlmIChhcGkuY29tcGF0aWJsZSkgewogICAgbW9kdWxlLmhvdC5hY2NlcHQoKQogICAgaWYgKCFhcGkuaXNSZWNvcmRlZCgnNmFiZmY5ZDInKSkgewogICAgICBhcGkuY3JlYXRlUmVjb3JkKCc2YWJmZjlkMicsIGNvbXBvbmVudC5vcHRpb25zKQogICAgfSBlbHNlIHsKICAgICAgYXBpLnJlbG9hZCgnNmFiZmY5ZDInLCBjb21wb25lbnQub3B0aW9ucykKICAgIH0KICAgIG1vZHVsZS5ob3QuYWNjZXB0KCIuL1B1Ymxpc2hlZFBhZ2UudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTZhYmZmOWQyJnNjb3BlZD10cnVlJiIsIGZ1bmN0aW9uICgpIHsKICAgICAgYXBpLnJlcmVuZGVyKCc2YWJmZjlkMicsIHsKICAgICAgICByZW5kZXI6IHJlbmRlciwKICAgICAgICBzdGF0aWNSZW5kZXJGbnM6IHN0YXRpY1JlbmRlckZucwogICAgICB9KQogICAgfSkKICB9Cn0KY29tcG9uZW50Lm9wdGlvbnMuX19maWxlID0gImNvbXBvbmVudHMvUHVibGlzaGVkUGFnZS52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/b8d614e079efe39c5820680ab6506a4e.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/b8d614e079efe39c5820680ab6506a4e.json
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
md-parser/src/node_modules/.cache/vue-loader/ba499795b0e72a72cc28aac5c0ae1fe2.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/ba499795b0e72a72cc28aac5c0ae1fe2.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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=template&id=6645ccba&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInputPage.vue","mtime":1594996818818},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKAogICAgImRpdiIsCiAgICBbCiAgICAgIF9jKCJhcnRpY2xlLWZvcm0iKSwKICAgICAgX2MoIlVzZXJJbnB1dCIsIHsgc3RhdGljQ2xhc3M6ICJpbnB1dC1hcmVhIGNvbHVtbiIgfSksCiAgICAgIF9jKCJ2dWUtbWFya2Rvd24iLCB7CiAgICAgICAgc3RhdGljQ2xhc3M6ICJjb2x1bW4iLAogICAgICAgIGF0dHJzOiB7IHNvdXJjZTogX3ZtLmFydGljbGVUZXh0LCBpZDogInJlbmRlci1hcmVhIiB9CiAgICAgIH0pLAogICAgICBfYygicHVibGlzaC1idXR0b24iLCB7IG9uOiB7IHVwZGF0ZTogX3ZtLmFydGljbGVVcGF0ZSB9IH0pCiAgICBdLAogICAgMQogICkKfQp2YXIgc3RhdGljUmVuZGVyRm5zID0gW10KcmVuZGVyLl93aXRoU3RyaXBwZWQgPSB0cnVlCgpleHBvcnQgeyByZW5kZXIsIHN0YXRpY1JlbmRlckZucyB9"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/ba651c29040272a38afec7fb5de4de25.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/ba651c29040272a38afec7fb5de4de25.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/UserInput.vue?vue&type=template&id=6e828074&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594995743735},{"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/loaders/templateLoader.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:CjxkaXY+CiAgICA8dGV4dGFyZWEgdi1tb2RlbD0ndXNlcklucHV0JyBwbGFjZWhvbGRlcj0iZWRpdCBtZSIgaWQ9J3RleHRib3gnPjwvdGV4dGFyZWE+CjwvZGl2Pgo="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/badab124a7aca8ce7c780cb4d0be46d5.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/badab124a7aca8ce7c780cb4d0be46d5.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/Publish.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/Publish.vue","mtime":1594806919021},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL1B1Ymxpc2gudnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTVmNzk1M2Y4JnNjb3BlZD10cnVlJiIKaW1wb3J0IHNjcmlwdCBmcm9tICIuL1B1Ymxpc2gudnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJiIKZXhwb3J0ICogZnJvbSAiLi9QdWJsaXNoLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmltcG9ydCBzdHlsZTAgZnJvbSAiLi9QdWJsaXNoLnZ1ZT92dWUmdHlwZT1zdHlsZSZpbmRleD0wJmlkPTVmNzk1M2Y4JnNjb3BlZD10cnVlJmxhbmc9Y3NzJiIKCgovKiBub3JtYWxpemUgY29tcG9uZW50ICovCmltcG9ydCBub3JtYWxpemVyIGZyb20gIiEuLi8uLi8uLi8uLi8uLi8uLi8uLi91c3IvbG9jYWwvbGliL25vZGVfbW9kdWxlcy9AdnVlL2N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xlID0gImNvbXBvbmVudHMvUHVibGlzaC52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/bcd8e42c3ae13aedffd1a4ebc7333de3.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/bcd8e42c3ae13aedffd1a4ebc7333de3.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/ArticleForm.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/ArticleForm.vue","mtime":1594997430814},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL0FydGljbGVGb3JtLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD01NGM4ZjA2MiZzY29wZWQ9dHJ1ZSYiCmltcG9ydCBzY3JpcHQgZnJvbSAiLi9BcnRpY2xlRm9ybS52dWU/dnVlJnR5cGU9c2NyaXB0Jmxhbmc9anMmIgpleHBvcnQgKiBmcm9tICIuL0FydGljbGVGb3JtLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCmltcG9ydCBzdHlsZTAgZnJvbSAiLi9BcnRpY2xlRm9ybS52dWU/dnVlJnR5cGU9c3R5bGUmaW5kZXg9MCZpZD01NGM4ZjA2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rpb24gKCkgewogICAgICBhcGkucmVyZW5kZXIoJzU0YzhmMDYyJywgewogICAgICAgIHJlbmRlcjogcmVuZGVyLAogICAgICAgIHN0YXRpY1JlbmRlckZuczogc3RhdGljUmVuZGVyRm5zCiAgICAgIH0pCiAgICB9KQogIH0KfQpjb21wb25lbnQub3B0aW9ucy5fX2ZpbGUgPSAiY29tcG9uZW50cy9BcnRpY2xlRm9ybS52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/bdd4b64013e3ca9b17c122cc652ded0d.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/bdd4b64013e3ca9b17c122cc652ded0d.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/Publish.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/Publish.vue","mtime":1594806919021},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnUHVibGlzaCcsCiAgcHJvcHM6IHsKICB9LAogIGRhdGE6IGZ1bmN0aW9uKCl7CiAgICByZXR1cm4gewogICAgfQogIH0sCn0K"},{"version":3,"sources":["Publish.vue"],"names":[],"mappings":";;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"Publish.vue","sourceRoot":"components","sourcesContent":["<template>\n <router-link to='/publish'>Publish !</router-link>\n</template>\n\n<script>\nexport default {\n name: 'Publish',\n props: {\n },\n data: function(){\n return {\n }\n },\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n\ninput[type=button]{\n font-weight: bold;\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/bec2e0d72d17983f9c0cc5c635de3421.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/bec2e0d72d17983f9c0cc5c635de3421.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/PublishedPage.vue?vue&type=template&id=6abff9d2&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishedPage.vue","mtime":1594991999773},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKAogICAgImRpdiIsCiAgICBbCiAgICAgIF9jKAogICAgICAgICJwIiwKICAgICAgICB7CiAgICAgICAgICBzdGF0aWNDbGFzczogImFsZXJ0IGFsZXJ0LXByaW1hcnkiLAogICAgICAgICAgYXR0cnM6IHsgaWQ6ICJwdWJsaXNoZWQtbWVzc2FnZSIgfQogICAgICAgIH0sCiAgICAgICAgW192bS5fdigiWW91ciBhcnRpY2xlIHdhcyBwdWJsaXNoZWQgISIpXQogICAgICApLAogICAgICBfYygKICAgICAgICAiYSIsCiAgICAgICAgewogICAgICAgICAgc3RhdGljQ2xhc3M6ICJidG4gYnRuLXNlY29uZGFyeSIsCiAgICAgICAgICBhdHRyczogeyB2YWx1ZTogIkRvd25sb2FkIC5tZCBmaWxlIiwgaWQ6ICJkb3dubG9hZC1idXR0b24iIH0sCiAgICAgICAgICBvbjogewogICAgICAgICAgICAifmNsaWNrIjogZnVuY3Rpb24oJGV2ZW50KSB7CiAgICAgICAgICAgICAgJGV2ZW50LnByZXZlbnREZWZhdWx0KCkKICAgICAgICAgICAgICByZXR1cm4gX3ZtLmdlbmVyYXRlTURGaWxlKCRldmVudCkKICAgICAgICAgICAgfQogICAgICAgICAgfQogICAgICAgIH0sCiAgICAgICAgW192bS5fdigiRG93bmxvYWQgISIpXQogICAgICApLAogICAgICBfYygiYnIiKSwKICAgICAgX2MoImhyIiksCiAgICAgIF9jKCJiciIpLAogICAgICBfYygic3BhbiIsIFtfdm0uX3YoX3ZtLl9zKF92bS5hdXRob3IpICsgIiB3cm90ZSAiKV0pLAogICAgICBfdm0uX3YoIm9uICIgKyBfdm0uX3MoX3ZtLmRhdGVfY3JlYXRlZCkgKyAiOiIpLAogICAgICBfYygiaHIiKSwKICAgICAgX2MoImgxIiwgeyBhdHRyczogeyBpZDogImFydGljbGUtdGl0bGUiIH0gfSwgW192bS5fdihfdm0uX3MoX3ZtLnRpdGxlKSldKSwKICAgICAgX2MoInZ1ZS1tYXJrZG93biIsIHsgYXR0cnM6IHsgc291cmNlOiBfdm0uYXJ0aWNsZVRleHQgfSB9KQogICAgXSwKICAgIDEKICApCn0KdmFyIHN0YXRpY1JlbmRlckZucyA9IFtdCnJlbmRlci5fd2l0aFN0cmlwcGVkID0gdHJ1ZQoKZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfQ=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/bef2423c9216241d5f11fc46cf83f607.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/bef2423c9216241d5f11fc46cf83f607.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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":1594996818818},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCmNvZGUgewogIGZvbnQtc3R5bGU6IGl0YWxpYzsKfQo="},{"version":3,"sources":["UserInputPage.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8CA;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 // saves article content\n articleUpate : function() {\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"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/c067c9c4f9793980efe1417a65602d45.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/c067c9c4f9793980efe1417a65602d45.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/App.vue?vue&type=template&id=472cff63&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594302312575},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKAogICAgImRpdiIsCiAgICBbCiAgICAgIF9jKCJVc2VySW5wdXQiLCB7CiAgICAgICAgc3RhdGljQ2xhc3M6ICJpbnB1dC1hcmVhIGNvbHVtbiIsCiAgICAgICAgb246IHsgInVzZXItdXBkYXRlIjogX3ZtLmFsZXJ0VXNlciB9CiAgICAgIH0pLAogICAgICBfYygiTWRSZW5kZXIiLCB7CiAgICAgICAgc3RhdGljQ2xhc3M6ICJyZW5kZXItYXJlYSBjb2x1bW4iLAogICAgICAgIGF0dHJzOiB7IGJhcmV0ZXh0OiBfdm0udXNlcnRleHQgfQogICAgICB9KQogICAgXSwKICAgIDEKICApCn0KdmFyIHN0YXRpY1JlbmRlckZucyA9IFtdCnJlbmRlci5fd2l0aFN0cmlwcGVkID0gdHJ1ZQoKZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfQ=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/c16295c39d845cf70b544ea543f43f28.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/c16295c39d845cf70b544ea543f43f28.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/UserInput.vue?vue&type=template&id=6e828074&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594301334474},{"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/loaders/templateLoader.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:CjxkaXY+CiAgICA8dGV4dGFyZWEgdi1tb2RlbD0ic29tZXRleHQiIHBsYWNlaG9sZGVyPSJlZGl0IG1lIiBpZD0ndGV4dGJveCc+Cg=="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/c2250b1a0f113b6da2b4d975191be080.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/c2250b1a0f113b6da2b4d975191be080.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/App.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594302312575},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBVc2VySW5wdXQgZnJvbSAnLi9jb21wb25lbnRzL1VzZXJJbnB1dC52dWUnCmltcG9ydCBNZFJlbmRlciBmcm9tICcuL2NvbXBvbmVudHMvTWRSZW5kZXIudnVlJwoKZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICdBcHAnLAogIGNvbXBvbmVudHM6IHsKICAgIFVzZXJJbnB1dCwKICAgIE1kUmVuZGVyCiAgfSwKICBkYXRhOiBmdW5jdGlvbigpIHsKICAgIHJldHVybnsKICAgICAgdXNlcnRleHQ6ICcnLAogICAgfQogIH0sCiAgbWV0aG9kczogewogICAgYWxlcnRVc2VyIDogZnVuY3Rpb24odGV4dCl7CiAgICAgICAgdGhpcy51c2VydGV4dCA9IHRleHRbJ3VzZXJ0ZXh0J10KICAgIH0KICB9Cn0K"},{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;AAQA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"App.vue","sourceRoot":".","sourcesContent":["<template>\n <div>\n <UserInput @user-update='alertUser' class=\"input-area column\"></UserInput>\n <MdRender :baretext=\"usertext\" class=\"render-area column\"></MdRender>\n </div>\n</template>\n\n<script>\nimport UserInput from './components/UserInput.vue'\nimport MdRender from './components/MdRender.vue'\n\nexport default {\n name: 'App',\n components: {\n UserInput,\n MdRender\n },\n data: function() {\n return{\n usertext: '',\n }\n },\n methods: {\n alertUser : function(text){\n this.usertext = text['usertext']\n }\n }\n}\n</script>\n\n<style>\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/cf9b1f031c4035f66c44afd8d9eaab61.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/cf9b1f031c4035f66c44afd8d9eaab61.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/UserInput.vue?vue&type=template&id=6e828074&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/UserInput.vue","mtime":1594302288816},{"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/loaders/templateLoader.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:CjxkaXY+CiAgICA8dGV4dGFyZWEgdi1tb2RlbD0ic29tZXRleHQiIHBsYWNlaG9sZGVyPSJlZGl0IG1lIiBpZD0ndGV4dGJveCc+CiAgICA8L3RleHRhcmVhPgo8L2Rpdj4K"},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/d09b57011d126574dca606f2e8ea89e6.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/d09b57011d126574dca606f2e8ea89e6.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/PublishPage.vue?vue&type=template&id=1018a733&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishPage.vue","mtime":1594807184095},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKCJkaXYiLCBbX3ZtLl92KCJZb3UncmUgb24gdGhlIHB1Ymxpc2ggcGFnZSIpXSkKfQp2YXIgc3RhdGljUmVuZGVyRm5zID0gW10KcmVuZGVyLl93aXRoU3RyaXBwZWQgPSB0cnVlCgpleHBvcnQgeyByZW5kZXIsIHN0YXRpY1JlbmRlckZucyB9"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/d5e6ac63d7760e737b311c803db1febf.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/d5e6ac63d7760e737b311c803db1febf.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/EditPage.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/EditPage.vue","mtime":1594989886747},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL0VkaXRQYW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gIGlmICghYXBpLmlzUmVjb3JkZWQoJzc0N2VmMzk0JykpIHsKICAgICAgYXBpLmNyZWF0ZVJlY29yZCgnNzQ3ZWYzOTQnLCBjb21wb25lbnQub3B0aW9ucykKICAgIH0gZWxzZSB7CiAgICAgIGFwaS5yZWxvYWQoJzc0N2VmMzk0JywgY29tcG9uZW50Lm9wdGlvbnMpCiAgICB9CiAgICBtb2R1bGUuaG90LmFjY2VwdCgiLi9FZGl0UGFnZS52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ9NzQ3ZWYzOTQmc2NvcGVkPXRydWUmIiwgZnVuY3Rpb24gKCkgewogICAgICBhcGkucmVyZW5kZXIoJzc0N2VmMzk0JywgewogICAgICAgIHJlbmRlcjogcmVuZGVyLAogICAgICAgIHN0YXRpY1JlbmRlckZuczogc3RhdGljUmVuZGVyRm5zCiAgICAgIH0pCiAgICB9KQogIH0KfQpjb21wb25lbnQub3B0aW9ucy5fX2ZpbGUgPSAiY29tcG9uZW50cy9FZGl0UGFnZS52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/d8a096fa5db2e9676286cb886d7bdcb5.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/d8a096fa5db2e9676286cb886d7bdcb5.json
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
md-parser/src/node_modules/.cache/vue-loader/d98e2a289edceb1d0b0542438ad8544d.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/d98e2a289edceb1d0b0542438ad8544d.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishButton.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishButton.vue","mtime":1594997143933},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:aW1wb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfSBmcm9tICIuL1B1Ymxpc2hCdXR0b24udnVlP3Z1ZSZ0eXBlPXRlbXBsYXRlJmlkPTc0MjcyZjU2JnNjb3BlZD10cnVlJiIKaW1wb3J0IHNjcmlwdCBmcm9tICIuL1B1Ymxpc2hCdXR0b24udnVlP3Z1ZSZ0eXBlPXNjcmlwdCZsYW5nPWpzJiIKZXhwb3J0ICogZnJvbSAiLi9QdWJsaXNoQnV0dG9uLnZ1ZT92dWUmdHlwZT1zY3JpcHQmbGFuZz1qcyYiCgoKLyogbm9ybWFsaXplIGNvbXBvbmVudCAqLwppbXBvcnQgbm9ybWFsaXplciBmcm9tICIhLi4vLi4vLi4vLi4vLi4vLi4vLi4vdXNyL2xvY2FsL2xpYi9ub2RlX21vZHVsZXMvQHZ1ZS9jbGktc2VydmljZS1nbG9iYWwvbm9kZV9tb2R1bGVzL3Z1ZS1sb2FkZXIvbGliL3J1bnRpbWUvY29tcG9uZW50Tm9ybWFsaXplci5qcyIKdmFyIGNvbXBvbmVudCA9IG5vcm1hbGl6ZXIoCiAgc2NyaXB0LAogIHJlbmRlciwKICBzdGF0aWNSZW5kZXJGbnMsCiAgZmFsc2UsCiAgbnVsbCwKICAiNzQyNzJmNTYiLAogIG51bGwKICAKKQoKLyogaG90IHJlbG9hZCAqLwppZiAobW9kdWxlLmhvdCkgewogIHZhciBhcGkgPSByZXF1aXJlKCIvdXNyL2xvY2FsL2xpYi9ub2RlX21vZHVsZXMvQHZ1ZS9jbGktc2VydmljZS1nbG9iYWwvbm9kZV9tb2R1bGVzL3Z1ZS1ob3QtcmVsb2FkLWFwaS9kaXN0L2luZGV4LmpzIikKICBhcGkuaW5zdGFsbChyZXF1aXJlKCd2dWUnKSkKICBpZiAoYXBpLmNvbXBhdGlibGUpIHsKICAgIG1vZHVsZS5ob3QuYWNjZXB0KCkKICAgIGlmICghYXBpLmlzUmVjb3JkZWQoJzc0MjcyZjU2JykpIHsKICAgICAgYXBpLmNyZWF0ZVJlY29yZCgnNzQyNzJmNTYnLCBjb21wb25lbnQub3B0aW9ucykKICAgIH0gZWxzZSB7CiAgICAgIGFwaS5yZWxvYWQoJzc0MjcyZjU2JywgY29tcG9uZW50Lm9wdGlvbnMpCiAgICB9CiAgICBtb2R1bGUuaG90LmFjY2VwdCgiLi9QdWJsaXNoQnV0dG9uLnZ1ZT92dWUmdHlwZT10ZW1wbGF0ZSZpZD03NDI3MmY1NiZzY29wZWQ9dHJ1ZSYiLCBmdW5jdGlvbiAoKSB7CiAgICAgIGFwaS5yZXJlbmRlcignNzQyNzJmNTYnLCB7CiAgICAgICAgcmVuZGVyOiByZW5kZXIsCiAgICAgICAgc3RhdGljUmVuZGVyRm5zOiBzdGF0aWNSZW5kZXJGbnMKICAgICAgfSkKICAgIH0pCiAgfQp9CmNvbXBvbmVudC5vcHRpb25zLl9fZmlsZSA9ICJjb21wb25lbnRzL1B1Ymxpc2hCdXR0b24udnVlIgpleHBvcnQgZGVmYXVsdCBjb21wb25lbnQuZXhwb3J0cw=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/de2b6b799c85dba55f21adf20b4210c5.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/de2b6b799c85dba55f21adf20b4210c5.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/cache-loader/dist/cjs.js??ref--0-0!/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/Publish.vue?vue&type=template&id=5f7953f8&scoped=true&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/Publish.vue","mtime":1594806919021},{"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/loaders/templateLoader.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:dmFyIHJlbmRlciA9IGZ1bmN0aW9uKCkgewogIHZhciBfdm0gPSB0aGlzCiAgdmFyIF9oID0gX3ZtLiRjcmVhdGVFbGVtZW50CiAgdmFyIF9jID0gX3ZtLl9zZWxmLl9jIHx8IF9oCiAgcmV0dXJuIF9jKCJyb3V0ZXItbGluayIsIHsgYXR0cnM6IHsgdG86ICIvcHVibGlzaCIgfSB9LCBbX3ZtLl92KCJQdWJsaXNoICEiKV0pCn0KdmFyIHN0YXRpY1JlbmRlckZucyA9IFtdCnJlbmRlci5fd2l0aFN0cmlwcGVkID0gdHJ1ZQoKZXhwb3J0IHsgcmVuZGVyLCBzdGF0aWNSZW5kZXJGbnMgfQ=="}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/e086f8ee3d1448d32ec1f631c585a066.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/e086f8ee3d1448d32ec1f631c585a066.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/MdRender.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","mtime":1594306153901},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KCgoKZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICdNZFJlbmRlcicsCiAgcHJvcHM6IHsKICAgIGJhcmV0ZXh0OiB7CiAgICAgIHR5cGU6IFN0cmluZywKICAgICAgcmVxdWlyZWQ6IHRydWUsCiAgICAgIGRlZmF1bHQ6ICIgIgogICAgfQogIH0sCiAgY29tcHV0ZWQ6IHsKICAgIHJlbmRlcmVkX2NvbXB1dGUgOiBmdW5jdGlvbigpewogICAgICAgIHJldHVybiB0aGlzLmJhcmV0ZXh0CiAgICB9CiAgfSwKCn0K"},{"version":3,"sources":["MdRender.vue"],"names":[],"mappings":";;;;;;;;;AASA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA","file":"MdRender.vue","sourceRoot":"components","sourcesContent":["<template>\n <div>\n <p> {{ rendered_compute }}</p>\n </div>\n</template>\n\n<script>\n\n\nexport default {\n name: 'MdRender',\n props: {\n baretext: {\n type: String,\n required: true,\n default: \" \"\n }\n },\n computed: {\n rendered_compute : function(){\n return this.baretext\n }\n },\n\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/e6f28627fde9a4672681e580d7b12015.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/e6f28627fde9a4672681e580d7b12015.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/PublishButton.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishButton.vue","mtime":1594997143933},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnUHVibGlzaEJ1dHRvbicsCiAgcHJvcHM6IHsKICB9LAogIGRhdGE6IGZ1bmN0aW9uKCl7CiAgICByZXR1cm4gewogICAgfQogIH0sCiAgbWV0aG9kczogewogICAgdXBkYXRlVGV4dCA6IGZ1bmN0aW9uKCkgewogICAgICAvLyBUT0RPIDogUE9TVCB0byBBUEkKICAgICAgCiAgICB9CiAgfQp9Cg=="},{"version":3,"sources":["PublishButton.vue"],"names":[],"mappings":";;;;;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA","file":"PublishButton.vue","sourceRoot":"components","sourcesContent":["<template>\n <input type='button' @click.prevent='updateText' value='Publish!' class=\"btn btn-primary\">\n</template>\n\n<script>\nexport default {\n name: 'PublishButton',\n props: {\n },\n data: function(){\n return {\n }\n },\n methods: {\n updateText : function() {\n // TODO : POST to API\n \n }\n }\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/e7d7aed7840df2bd7c0c5842133519b5.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/e7d7aed7840df2bd7c0c5842133519b5.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/PublishButton.vue?vue&type=style&index=0&id=74272f56&scoped=true&lang=css&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/PublishButton.vue","mtime":1594807677969},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCiNwdWJsaXNoLWJ1dHRvbnsKICBmb250LXdlaWdodDogYm9sZDsKICBjb2xvcjogYmxhY2s7CiAgYmFja2dyb3VuZC1jb2xvcjogI2U2ZTZmZjsKICB0ZXh0LWRlY29yYXRpb246IHVuc2V0OwogIGJvcmRlcjogc29saWQ7CiAgYm9yZGVyLWNvbG9yOiBibGFjazsKICBib3JkZXItd2lkdGg6IDFweDsKICBib3JkZXItcmFkaXVzOiA1cHg7CiAgcGFkZGluZy10b3A6IDVweDsKICBwYWRkaW5nLWJvdHRvbTogNXB4OwogIHBhZGRpbmctbGVmdDogMTBweDsKICBwYWRkaW5nLXJpZ2h0OiAxMHB4Owp9Cg=="},{"version":3,"sources":["PublishButton.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"PublishButton.vue","sourceRoot":"components","sourcesContent":["<template>\n <router-link to='/publish' id='publish-button'>Publish !</router-link>\n</template>\n\n<script>\nexport default {\n name: 'PublishButton',\n props: {\n },\n data: function(){\n return {\n }\n },\n}\n</script>\n\n<!-- Add \"scoped\" attribute to limit CSS to this component only -->\n<style scoped>\n\n#publish-button{\n font-weight: bold;\n color: black;\n background-color: #e6e6ff;\n text-decoration: unset;\n border: solid;\n border-color: black;\n border-width: 1px;\n border-radius: 5px;\n padding-top: 5px;\n padding-bottom: 5px;\n padding-left: 10px;\n padding-right: 10px;\n}\n</style>\n"]}]}
|
1
md-parser/src/node_modules/.cache/vue-loader/f2f260d704d0d2870ec02a39a6b84984.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/f2f260d704d0d2870ec02a39a6b84984.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"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/App.vue?vue&type=template&id=472cff63&","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/App.vue","mtime":1594996724804},{"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/loaders/templateLoader.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:CjxkaXYgaWQ9J21haW4tY29udGVudCc+CiAgPGRpdiBpZD0ndG9wLWJhbmQnPjwvZGl2PgogIDx1bCBjbGFzcz0nbmF2Jz4KICAgIDxsaSBjbGFzcz0nbmF2LWl0ZW0nPgogICAgICA8cm91dGVyLWxpbmsgdG89Jy9lZGl0JyBjbGFzcz0nbmF2LWxpbmsnPkVkaXQgYW4gYXJ0aWNsZTwvcm91dGVyLWxpbms+CiAgICA8L2xpPgogICAgPGxpIGNsYXNzPSduYXYtaXRlbSc+CiAgICAgIDxhIGhyZWY9JyMnIEBjbGljaz0ncmVzZXRJbmZvcycgY2xhc3M9J25hdi1saW5rJz5OZXcgYXJ0aWNsZTwvYT4KICAgIDwvbGk+CiAgPC91bD4KICA8YnI+CiAgPGJyPgogIDx0cmFuc2l0aW9uIG5hbWU9ImZhZGUiPgogICAgPHJvdXRlci12aWV3IGlkPSdzdWItY29udGVudCc+PC9yb3V0ZXItdmlldz4KICA8L3RyYW5zaXRpb24+CjwvZGl2Pgo="},null]}
|
1
md-parser/src/node_modules/.cache/vue-loader/f3b6bc5517d39827befe340738f18373.json
generated
vendored
Normal file
1
md-parser/src/node_modules/.cache/vue-loader/f3b6bc5517d39827befe340738f18373.json
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"remainingRequest":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/vue-loader/lib/index.js??vue-loader-options!/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js??ref--13-0!/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","dependencies":[{"path":"/home/theo/Documents/vue-cli-test/md-parser/src/components/MdRender.vue","mtime":1594306153901},{"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},{"path":"/usr/local/lib/node_modules/@vue/cli-service-global/node_modules/eslint-loader/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","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mNyZWF0ZVJlY29yZCgnNTA1ODMwMzAnLCBjb21wb25lbnQub3B0aW9ucykKICAgIH0gZWxzZSB7CiAgICAgIGFwaS5yZWxvYWQoJzUwNTgzMDMwJywgY29tcG9uZW50Lm9wdGlvbnMpCiAgICB9CiAgICBtb2R1bGUuaG90LmFjY2VwdCgiLi9NZFJlbmRlci52dWU/dnVlJnR5cGU9dGVtcGxhdGUmaWQ9NTA1ODMwMzAmc2NvcGVkPXRydWUmIiwgZnVuY3Rpb24gKCkgewogICAgICBhcGkucmVyZW5kZXIoJzUwNTgzMDMwJywgewogICAgICAgIHJlbmRlcjogcmVuZGVyLAogICAgICAgIHN0YXRpY1JlbmRlckZuczogc3RhdGljUmVuZGVyRm5zCiAgICAgIH0pCiAgICB9KQogIH0KfQpjb21wb25lbnQub3B0aW9ucy5fX2ZpbGUgPSAiY29tcG9uZW50cy9NZFJlbmRlci52dWUiCmV4cG9ydCBkZWZhdWx0IGNvbXBvbmVudC5leHBvcnRz"}]}
|
3
md-parser/src/package-lock.json
generated
Normal file
3
md-parser/src/package-lock.json
generated
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"lockfileVersion": 1
|
||||
}
|
46
md-parser/src/store/store.js
Normal file
46
md-parser/src/store/store.js
Normal file
@ -0,0 +1,46 @@
|
||||
import Vuex from 'vuex'
|
||||
import Vue from 'vue'
|
||||
Vue.use(Vuex)
|
||||
|
||||
|
||||
export const store = new Vuex.Store({
|
||||
state: {
|
||||
article: {
|
||||
meta: {
|
||||
author: '',
|
||||
date_created: '',
|
||||
date_modfied: '',
|
||||
title: '',
|
||||
},
|
||||
content: "",
|
||||
}
|
||||
},
|
||||
getters: {
|
||||
getContent(state) {
|
||||
return state.article.content
|
||||
}
|
||||
},
|
||||
mutations: {
|
||||
updateText (state, newText) {
|
||||
state.article.content = newText
|
||||
},
|
||||
updateMeta (state, newMeta) {
|
||||
state.article.meta = newMeta
|
||||
},
|
||||
today (state, date) {
|
||||
let dateObj = new Date()
|
||||
let today = dateObj.getDate() + '/' + dateObj.getMonth() + '/' + dateObj.getFullYear()
|
||||
console.log("Today : ", today)
|
||||
if (date === 1) {
|
||||
state.article.meta.date_created = today
|
||||
}
|
||||
else if (date === 2) {
|
||||
state.article.meta.date_modified = today
|
||||
}
|
||||
},
|
||||
resetAll (state) {
|
||||
state.article.meta = {}
|
||||
state.article.content = ""
|
||||
}
|
||||
}
|
||||
})
|
16
server/data/content.json
Normal file
16
server/data/content.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"contents": [
|
||||
{
|
||||
"id": "1",
|
||||
"content": "## Hello ? **who's there**"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"content": "## **Payload 2**"
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"content": "_payload 3_"
|
||||
}
|
||||
]
|
||||
}
|
28
server/data/data.json
Normal file
28
server/data/data.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"articles": [
|
||||
{
|
||||
"id": "1",
|
||||
"author": "Theo",
|
||||
"title": "hello",
|
||||
"date_created": "17/07/2020",
|
||||
"date_modified": "17/07/2020",
|
||||
"content": "## Hello ? **who's there**"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"author": "Manon",
|
||||
"title": "what's up ?",
|
||||
"date_created": "17/07/2020",
|
||||
"date_modified": "17/07/2020",
|
||||
"content": "## **Payload 2**"
|
||||
},
|
||||
{
|
||||
"id": "3",
|
||||
"author": "Someone",
|
||||
"title": "Who's there ?",
|
||||
"date_created": "17/07/2020",
|
||||
"date_modified": "17/07/2020",
|
||||
"content": "_payload 3_"
|
||||
}
|
||||
]
|
||||
}
|
0
server/server.js
Normal file
0
server/server.js
Normal file
Loading…
Reference in New Issue
Block a user