0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Vue CLI3でBuefyを使う方法

Last updated at Posted at 2019-06-03

プラグインがあるようなので、記述。

参照先
vue-cli-plugin-buefy

1 プロジェクトがない場合(ある場合は2に)

$ vue create プロジェクト名

2 プラグインのインストール

$ cd プロジェクト名
$ vue add buefy

3 Sassを使いたい場合

vue.config.js
// vue.config.js
const fs = require('fs')
 
module.exports = {
  css: {
    loaderOptions: {
      sass: {
        data: fs.readFileSync('src/variables.scss', 'utf-8')
      }
    }
  }
}

nuxt.jsで動かしてもよいのですが、SSRが必要じゃないサービスなので、CLI3で十分かなと思っていますので、書いてみました。
Laravelを使おうと思っているので、Vue+Vuex+axios+Larabelとしたいので、これにnuxt.jsまで含めるとちょっとなぁと思ったので、こちらで考えてみました。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?