vue-generators / vue-form-generator-demo

1 stars 1 forks source link

only works if you manually clone the examples repo #1

Open vesper8 opened 5 years ago

vesper8 commented 5 years ago

instructions should be modified to mention that you must also clone the https://github.com/vue-generators/vue-form-generator-examples.git repo and add it in place of the empty 'examples' folder inside the 'src' folder

at least that's what I just had to do

zoul0813 commented 5 years ago

examples is a git submodule, the instructions likely need to include the submodule info... or perhaps an “install” script

zoul0813 commented 5 years ago

@lionel-bijaoui we can just add:

git submodule init
git submodule update

To the README.md, or, alternatively ... update package.json to include it as a preinstall script

    "scripts": {
        "serve": "vue-cli-service serve",
        "build": "vue-cli-service build",
        "lint": "vue-cli-service lint",
        "preinstall": "git submodule init && git submodule update"
    },