Skip to content

Commit

Permalink
Firebaseのセットアップとデプロイ環境の設定
Browse files Browse the repository at this point in the history
  • Loading branch information
nabettu committed Jan 12, 2018
1 parent 050f190 commit a068fb9
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 14 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
@@ -0,0 +1,5 @@
{
"projects": {
"default": "mymarkdown"
}
}
6 changes: 6 additions & 0 deletions build.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions firebase.json
@@ -0,0 +1,5 @@
{
"hosting": {
"public": "dist"
}
}
11 changes: 0 additions & 11 deletions index.html

This file was deleted.

Binary file added logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/App.vue
Expand Up @@ -24,7 +24,7 @@ export default {
name: 'app',
data () {
return {
msg: 'Welcome to Your Vue.js App'
msg: 'Welcome to MyMarkdown'
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions webpack.config.js
Expand Up @@ -5,7 +5,7 @@ module.exports = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname, './dist'),
publicPath: '/dist/',
publicPath: '/',
filename: 'build.js'
},
module: {
Expand Down Expand Up @@ -76,6 +76,7 @@ module.exports = {
extensions: ['*', '.js', '.vue', '.json']
},
devServer: {
contentBase: 'dist',
historyApiFallback: true,
noInfo: true,
overlay: true
Expand All @@ -96,7 +97,7 @@ if (process.env.NODE_ENV === 'production') {
}
}),
new webpack.optimize.UglifyJsPlugin({
sourceMap: true,
sourceMap: false,
compress: {
warnings: false
}
Expand Down

0 comments on commit a068fb9

Please sign in to comment.