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?

Nuxt3プロジェクトを作成し、Vuetifyを入れる方法

Posted at

Nuxt3のプロジェクト作成

■公式サイト(↓)の手順紙したがって作成する。

npm create nuxt <project-name>

上記のコマンドを入力すると、以降色々聞かれますが、私は下記のように回答しました。

Nuxt3からのプロジェクト作成にあたっての質問 プロジェクト作成にあたっての回答
どのパッケージ管理ツールを使用するか? npm
Gitを初期化する?(Initialize git repository) Yes
ツールは何を入れるか?(Would you like to install any of the official modules?) @nuxt/eslint – Project-aware, easy-to-use, extensible and future-proof ESLint integration

これでNuxt3プロジェクトは作成できました。

TypeScriptの導入

つぎにtypeScriptを導入していきます。

導入方法は下記の公式サイトを参考にします。

Vue-tscとTypeScriptをインストールする

npm install --save-dev vue-tsc typescript

nuxt typecheckを実行

npx nuxi typecheck

これで、TypeScriptのインストールできました。

vuetify-nuxt-moduleの導入

Nuxt3Vuetifyを入れるためにはvuetify-nuxt-moduleが必要です。

さっそく導入していきましょう。

npx nuxi@latest module add vuetify-nuxt-module

参考サイト

vuetify-nuxt-moduleの公式サイト

Nuxt3 で Vuetify3 を使う

Vuetifyのコンポーネント

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?