vue-generators / vue-form-generator-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

only works if you manually clone the examples repo

vesper8 opened this issue · comments

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

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

@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"
	},