Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only works if you manually clone the examples repo #1

Open
vesper8 opened this issue Dec 22, 2018 · 2 comments
Open

only works if you manually clone the examples repo #1

vesper8 opened this issue Dec 22, 2018 · 2 comments

Comments

@vesper8
Copy link

vesper8 commented Dec 22, 2018

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
Copy link
Member

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

@zoul0813
Copy link
Member

zoul0813 commented Dec 22, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants