mostly housekeeping
- App - some package clean-up - API - removed commented code that is not needed, postured for JSON outputs - Build - modified the scripts to build Vue into API's wwwroot folder, which will get copied on publish; adjusted FAKE task dependencies to be more granular
This commit is contained in:
@@ -4,8 +4,8 @@ var path = require('path')
|
||||
module.exports = {
|
||||
build: {
|
||||
env: require('./prod.env'),
|
||||
index: path.resolve(__dirname, '../dist/index.html'),
|
||||
assetsRoot: path.resolve(__dirname, '../dist'),
|
||||
index: path.resolve(__dirname, '../../api/wwwroot/index.html'),
|
||||
assetsRoot: path.resolve(__dirname, '../../api/wwwroot'),
|
||||
assetsSubDirectory: 'static',
|
||||
assetsPublicPath: '/',
|
||||
productionSourceMap: true,
|
||||
|
||||
1027
src/app/package-lock.json
generated
1027
src/app/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -15,6 +15,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"auth0-js": "^8.8.0",
|
||||
"axios": "^0.16.2",
|
||||
"element-ui": "^1.4.1",
|
||||
"pug": "^2.0.0-rc.2",
|
||||
"vue": "^2.3.3",
|
||||
|
||||
@@ -19,9 +19,6 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import url('../node_modules/bootstrap/dist/css/bootstrap.css');
|
||||
@import url('../node_modules/bootstrap-vue/dist/bootstrap-vue.css');
|
||||
|
||||
body {
|
||||
padding-top: 60px;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import axios from 'axios'
|
||||
|
||||
const http = axios.create({
|
||||
baseURL: 'http://localhost:8084'
|
||||
})
|
||||
|
||||
export default {
|
||||
something: http.get('/blah')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user