Skip to content

Instantly share code, notes, and snippets.

@hassaku63
Created October 20, 2018 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hassaku63/3fc53005ff41efcad6767793e4e40576 to your computer and use it in GitHub Desktop.
Save hassaku63/3fc53005ff41efcad6767793e4e40576 to your computer and use it in GitHub Desktop.
start vuetify project
#
# Date: 2018/10/20
# Author: @hassaku_63
#
#
# Install Vue CLI 3
#
npm install -g @vue/cli
# or yarn global add @vue/cli
#
# Create Vue app
#
vue create my-app # Select > default (babel, eslint)
# ? Please pick a preset: (Use arrow keys)
# ❯ default (babel, eslint)
#
# Add Vuetify
# link: https://vuetifyjs.com/ja/getting-started/quick-start
#
cd my-app
vue add vuetify # ? preset: default (recommended)
# ✔ Successfully invoked generator for plugin: vue-cli-plugin-vuetify
# The following files have been updated / added:
#
# src/assets/logo.svg
# src/plugins/vuetify.js
# babel.config.js
# package-lock.json
# package.json
# public/index.html
# src/App.vue
# src/components/HelloWorld.vue
# src/main.js
#
# Serve
#
npm run serve
# or yarn serve
@hassaku63
Copy link
Author

Vue CLI 3 のインストールから、vuetify入りのvueプロジェクトを作成するまでの手順

@hassaku63
Copy link
Author

If use webpack

$ vue init webpack book-proto

? Project name my-app
? Project description A Vue.js project
? Author hoge hoge@example.com
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? Set up unit tests Yes
? Pick a test runner jest
? Setup e2e tests with Nightwatch? Yes
? Should we run npm install for you after the project has been created? (recommended) yarn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment