https://github.com/nuxt/cli-draft
WIP: CLI for Nuxt.js projects
https://github.com/nuxt/cli-draft
Last synced: 3 months ago
JSON representation
WIP: CLI for Nuxt.js projects
- Host: GitHub
- URL: https://github.com/nuxt/cli-draft
- Owner: nuxt
- Created: 2017-06-12T08:47:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-10T16:19:52.000Z (about 5 years ago)
- Last Synced: 2025-01-29T11:11:25.773Z (12 months ago)
- Homepage:
- Size: 36.1 KB
- Stars: 62
- Watchers: 7
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nuxt-cli
CLI for Nuxt.js projects
## Commands
### Templates
```bash
# Create nuxt.js project
nuxt new
# List official templates
nuxt templates list
```
### Project
```bash
# Start in development mode
nuxt dev
# Build for production
nuxt build
# Start in production mode
nuxt start
# Generate a server-rendered static website
nuxt generate
```
### Modules
```bash
# List nuxt.js official modules
nuxt module list
# Add a nuxt.js module to the project
nuxt module add
# Remove a nuxt module
nuxt module rm/remove
# Add a new module locally (modules//index.js)
nuxt module new
# Upgrade a nuxt module
nuxt module upgrade
```
### Pages
```bash
# Add a page
nuxt page add
# Remove a page
nuxt page rm/remove
```
### Utils
```bash
# Analyze bundles
nuxt analyze
# Benchmark project
nuxt benchmarks
# Upgrade nuxt.js dependency
nuxt upgrade
# Test project (proposal)
nuxt test
# Link nuxt.js to project (development of nuxt.js)
nuxt link
```