Skip to content

Instantly share code, notes, and snippets.

@mamemomonga
Created March 20, 2020 06:06
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 mamemomonga/5ccb073245dd1c309a68893c307a025f to your computer and use it in GitHub Desktop.
Save mamemomonga/5ccb073245dd1c309a68893c307a025f to your computer and use it in GitHub Desktop.
Vue.js 事始め

Vue.js 事始め

$ mkdir vueapp && cd vueapp

$ cat > .gitignore << 'EOS'
node_modules
*.swp
EOS

$ yarn init -y
$ yarn add -D @vue/cli
$ yarn vue create --default --no-git --merge . 

$ cat > vue.config.js << 'EOS'
module.exports = {
  productionSourceMap: false
};
EOS

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