LoginSignup
0
0

More than 1 year has passed since last update.

github Pages README.md が表示されるのを防ぐ [VueCLI]

Last updated at Posted at 2021-12-20

1:vue.config.jsを作成

module.exports = {
    publicPath: './',
    outputDir: 'docs/', 
  }

中にこれを追加

これでdocsディレクトリの下にビルド生成物ができる

2:.githubというフォルダを作成

なかにREADME.mdを移動

3:npm run build

4:githubにpush

5:公開

↓を参考にしてね

※サイト内の5番の発行元のフォルダはdocsを選択

※フォルダの作成はvue.config.js、.githubともに一番上のディレクトリでOKです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0