Creating a Project | vue create -- preset
vuecreateTocreateanewproject,run:WARNINGIfyouareonWindowsusingGitBashwithminTTY,theinteractivepromptswillnotwork.Youmustlaunchthecommandaswinptyvue.cmdcreatehello-world.Ifyouhoweverwanttostillusethevuecreatehello-worldsyntax,youcanaliasthecommandbyaddingthefollowinglinetoyour~/.bashrcfile.aliasvue=winptyvue.cmdYouwillneedtorestartyourGitBashterminalsessiontopullintheupdatedbashrcfile.Youwillbepromptedtopickapreset.YoucaneitherchoosethedefaultpresetwhichcomeswithabasicBabel+ESLintsetup,orsele...
vue createTo create a new project, run:
WARNING
If you are on Windows using Git Bash with minTTY, the interactive prompts will not work. You must launch the command as winpty vue.cmd create hello-world. If you however want to still use the vue create hello-world syntax, you can alias the command by adding the following line to your ~/.bashrc file. alias vue=winpty vue.cmd You will need to restart your Git Bash terminal session to pull in the updated bashrc file.
You will be prompted to pick a preset. You can either choose the default preset which comes with a basic Babel + ESLint setup, or select "Manually select features" to pick the features you need.
The default setup is great for quickly prototyping a new project, while the manual setup provides more options that are likely needed for more production-oriented projects.
If you chose to manually select features, at the end of the prompts you also have the opti...