# @dohomi/nuxt

> A Now v2 Nuxt builder.

Latest version **0.1.6** (published 2019-02-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install @dohomi/nuxt
pnpm add @dohomi/nuxt
yarn add @dohomi/nuxt
bun add @dohomi/nuxt
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2019-02-11 |
| First published | 2019-02-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 21.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | dohomi |

## Links

- npm: https://www.npmjs.com/package/@dohomi/nuxt
- Repository: https://github.com/dohomi/now-nuxt
- Homepage: https://github.com/dohomi/now-nuxt#readme
- Issues: https://github.com/dohomi/now-nuxt/issues
- npm.io page: https://npm.io/package/@dohomi/nuxt

## Dependencies (3)

- [execa](https://npm.io/package/execa.md) ^1.0.0
- [fs.promised](https://npm.io/package/fs.promised.md) ^3.0.0
- [@now/node-bridge](https://npm.io/package/@now/node-bridge.md) 0.1.4

## Recent versions

- 0.1.6 (latest) — 2019-02-11
- 0.1.5 — 2019-02-11
- 0.1.4 — 2019-02-11
- 0.1.3 — 2019-02-11
- 0.1.2 — 2019-02-11
- 0.1.1 — 2019-02-11
- 0.1.0 — 2019-02-11

## README

# now-nuxt

A Now v2 Nuxt builder.

## Usage

Add it to your `now.json` as:

```json
{
  "builds": [
    { "src": "nuxt.config.js", "use": "@bluebeel/nuxt" }
  ]
}
```
You have to modify your nuxt.config.js file and customize the build property
```javascript
build:  {
      filenames: {
        app: '[name].js',
        chunk: '[name].js'
      }
}
```

And don't forget to change the way the configuration is returned.
The default nuxt.config.js is
```javascript
export default {
  ...
}
```
Change it to
```javascript
module.exports = () => {
  return { ... }
}
```

## Example
Simple:
https://nuxtjs-v2.now.sh/

[Repository](https://github.com/bluebeel/now-nuxt-example) of the example.

Hackernews:
https://nuxtjs-news-v2.now.sh

[Repository](https://github.com/bluebeel/hackernews) of the example.

---
_Source: https://npm.io/package/@dohomi/nuxt · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
