1.2.1 • Published 5 years ago

neopa-cli v1.2.1

Weekly downloads
15
License
MIT
Repository
github
Last release
5 years ago

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.
  • Git: Use the installer for your OS.

Installing

The Neopa Boilerplate CLI is installed through npm.

npm install -g neopa-cli

This 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-cli

To check what version you currently have, use -v.

neopa -v

Commands

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 new

Watch

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 dev

While this process is running, you can view the assembled app in your browser, at this URL:

http://localhost:3000

Build

To build your app for production, use npm run build.

npm run build

Generate

To build your pre-rendered app for production, use npm run generate.

npm run generate

Update

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 update

Help

Lists all available commands in the CLI.

neopa help