Created
October 10, 2019 16:34
-
-
Save roostercrab/037cbc483513f4593805e9794ca1ed32 to your computer and use it in GitHub Desktop.
Vue gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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