diff --git a/.gitignore b/.gitignore index b947077..2f2e27e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ dist/ +npm-debug.log \ No newline at end of file diff --git a/package.json b/package.json index 89e1b60..2fb9d96 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,10 @@ ], "author": "Johannes Zillmann", "license": "ISC", + "repository": { + "type": "git", + "url": "https://github.com/jzillmann/pdf-to-markdown" + }, "dependencies": { "vue": "^2.0.5" }, @@ -27,6 +31,7 @@ "css-loader": "^0.25.0", "file-loader": "^0.9.0", "html-webpack-plugin": "^2.24.1", + "sass-loader": "^4.0.2", "url-loader": "^0.5.7", "vue-loader": "^9.8.1", "webpack": "^1.13.3" diff --git a/src/App.vue b/src/App.vue index a4dd50d..ba99874 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,18 +1,29 @@ - + diff --git a/src/components/Dropzone.vue b/src/components/Dropzone.vue new file mode 100644 index 0000000..cd3d2c6 --- /dev/null +++ b/src/components/Dropzone.vue @@ -0,0 +1,148 @@ + + + + + Drop image here or click to select + + + + + + Remove + + + + + + + + diff --git a/webpack.config.js b/webpack.config.js index e54ff84..460a35c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -39,6 +39,10 @@ module.exports = { test: /\.vue$/, loader: 'vue' }, + { + test: /\.scss$/, + loaders: ["style", "css", "sass"] + }, { test: /\.png$/, loader: "url-loader?limit=100000"