diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 5470402..a7ed6b7 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -30,6 +30,10 @@ module.exports = merge(baseWebpackConfig, { template: 'index.html', inject: true }), - new FriendlyErrorsPlugin() + new FriendlyErrorsPlugin(), + new webpack.ProvidePlugin({ + jQuery: 'jquery', + $: 'jquery', + }) ] }) diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index da44b65..ae5478d 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -90,7 +90,11 @@ var webpackConfig = merge(baseWebpackConfig, { to: config.build.assetsSubDirectory, ignore: ['.*'] } - ]) + ]), + new webpack.ProvidePlugin({ + jQuery: 'jquery', + $: 'jquery', + }) ] }) diff --git a/package.json b/package.json index 57790f1..befaa52 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,8 @@ "lint": "eslint --ext .js,.vue src" }, "dependencies": { + "bootstrap": "^3.3.7", + "jquery": "^3.2.1", "js-yaml": "^3.8.4", "vue": "^2.3.3", "vue-resource": "^1.3.4", diff --git a/src/components/Endpoint.vue b/src/components/Endpoint.vue index 388c4b9..85c968a 100644 --- a/src/components/Endpoint.vue +++ b/src/components/Endpoint.vue @@ -1,110 +1,10 @@ - + diff --git a/src/components/EndpointList.vue b/src/components/EndpointList.vue index 8afccc4..e1f0ed5 100644 --- a/src/components/EndpointList.vue +++ b/src/components/EndpointList.vue @@ -4,8 +4,121 @@ {{ this.$route.name }} + +
- + {{ basePath }}/{{ endpoint.route }}
@@ -14,18 +127,69 @@