neopa-cli v1.2.1
Neopa boilerplate CLI
This is the command-line interface for Neopa Boilerplate. It downloads and installs blank templates in any of the two Neopa Nuxt.js frameworks:
Requirements
You'll need the following software installed to get started.
- Node.js 0.12+: Use the installer provided on the NodeJS website.
- With Node installed, run
[sudo] npm install -g gulp bower.
- With Node installed, run
- Git: Use the installer for your OS.
- Windows users can also try Git for Windows.
Installing
The Neopa Boilerplate CLI is installed through npm.
npm install -g neopa-cliThis will add the neopa command to your system.
Updating
The CLI periodically gets updates that add features or fix bugs. Use npm to upgrade the CLI to the newest version.
npm update -g neopa-cliTo check what version you currently have, use -v.
neopa -vCommands
New
Starts the setup process for a new Neopa Boilerplate project. The CLI will ask you which framework you want to use and a folder name for the project.
neopa newWatch
While inside of your app's folder, use the npm run dev command to assemble your app and run a test server.
cd appName
npm run devWhile this process is running, you can view the assembled app in your browser, at this URL:
http://localhost:3000Build
To build your app for production, use npm run build.
npm run buildGenerate
To build your pre-rendered app for production, use npm run generate.
npm run generateUpdate
Updates your packages, which includes Neopa Boilerplate. Run this command when you want to update an existing project to the newest version of Neopa Boilerplate.
neopa updateHelp
Lists all available commands in the CLI.
neopa help