Skip to content

Commit

Permalink
Move frontend code to api folder
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Jan 31, 2020
1 parent e9db117 commit bee1278
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/views/Home.vue → api/src/views/Home.vue
Expand Up @@ -7,7 +7,7 @@

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'
import HelloWorld from '../components/HelloWorld.vue'
export default {
name: 'home',
Expand Down
6 changes: 6 additions & 0 deletions vue.config.js
@@ -1,4 +1,10 @@
module.exports = {
pages: {
index: {
entry: 'api/src/main.js',
template: 'api/public/index.html'
}
},
devServer: {
proxy: 'http://localhost:8000'
}
Expand Down

1 comment on commit bee1278

@vercel
Copy link

@vercel vercel bot commented on bee1278 Jan 31, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.