Created
March 6, 2018 13:14
-
-
Save transcendr/8515570332c72324f2dac85244cc78e1 to your computer and use it in GitHub Desktop.
OMC - PWA Setup
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
$ vue | |
Usage: vue <command> [options] | |
Options: | |
-V, --version output the version number | |
-h, --help output usage information | |
Commands: | |
init generate a new project from a template | |
list list available official templates | |
build prototype a new project | |
help [cmd] display help for [cmd] | |
--------------- | |
$ vue init -h | |
Usage: vue-init <template-name> [project-name] | |
Options: | |
-c, --clone use git clone | |
--offline use cached template | |
-h, --help output usage information | |
Examples: | |
# create a new project with an official template | |
$ vue init webpack my-project | |
# create a new project straight from a github template | |
$ vue init username/repo my-project | |
------------------ | |
$ vue init pwa transcendr-pwa | |
? Project name (transcendr-pwa) | |
? Project name transcendr-pwa | |
? Project short name: fewer than 12 characters to not be truncated on homescree t? Project short name: fewer than 12 characters to not be truncated on homescree | |
? Project description (A Vue.js project) | |
? Project description A Vue.js project | |
? Author (Transcendr Studio <[email protected]>) | |
? Author Transcendr Studio <[email protected]> | |
? Vue build standalone | |
? Install vue-router? (Y/n) y | |
? Install vue-router? Yes | |
? Use ESLint to lint your code? (Y/n) y | |
? Use ESLint to lint your code? Yes | |
? Pick an ESLint preset (Use arrow keys) | |
? Pick an ESLint preset Standard | |
? Setup unit tests with Karma + Mocha? (Y/n) y | |
? Setup unit tests with Karma + Mocha? Yes | |
? Setup e2e tests with Nightwatch? (Y/n) y | |
? Setup e2e tests with Nightwatch? Yes | |
vue-cli · Generated "transcendr-pwa". | |
To get started: | |
cd transcendr-pwa | |
npm install | |
npm run dev | |
Documentation can be found at https://vuejs-templates.github.io/webpack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment