Skip to content

Commit c317b75

Browse files
committed
add firebase
1 parent 649b2ae commit c317b75

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

Diff for: .firebaserc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "vuejs-rxjs-example"
4+
}
5+
}

Diff for: Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
deploy:
2+
npm run build
3+
firebase deploy

Diff for: firebase.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"hosting": {
3+
"public": "dist",
4+
"rewrites": [
5+
{
6+
"source": "**",
7+
"destination": "/index.html"
8+
}
9+
]
10+
}
11+
}

Diff for: src/router/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import Result from '@/components/Result'
55
Vue.use(Router)
66

77
export default new Router({
8+
mode: 'history',
89
routes: [
910
{
1011
path: '/search',

0 commit comments

Comments
 (0)