Skip to content

Instantly share code, notes, and snippets.

@roostercrab
Created October 10, 2019 16:34
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 roostercrab/037cbc483513f4593805e9794ca1ed32 to your computer and use it in GitHub Desktop.
Save roostercrab/037cbc483513f4593805e9794ca1ed32 to your computer and use it in GitHub Desktop.
Vue gist
new Vue({
el: '#app',
data: data,
delimiters: ["[[","]]"]
});
npm install -g vue-cli
vue init webpack *project*
cd *project*
npm install
npm run dev
npm install
npm run dev
npm install --save vue-resource
npm install --save vue-router
npm install --save vuex
npm install --save-dev babel-preset-stage-2
npm install webpack-bundle-tracker --save-dev
npm i --save apollo-boost apollo-cache-inmemory apollo-client apollo-link-http graphql graphql-tag vue-apollo
<li v-for="fruit in fruits" v-bind:key="fruit">{{ fruit }}</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment