Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/nuxt-community/micro-template

Starter template for Nuxt.js with Δ micro
https://github.com/nuxt-community/micro-template

Last synced: about 2 months ago
JSON representation

Starter template for Nuxt.js with Δ micro

Lists

README

        

# Nuxt.js with Δ micro and a tiny bit of routing via micro-route

> [Δ micro](https://github.com/zeit/micro) + [micro-route](https://github.com/dotcypress/micro-route) + [Nuxt.js](https://nuxtjs.org) = :zap:

## Origins

The repo had to be detached from it's ancestor [`nuxt-express`](https://github.com/nuxt-community/express-template) to be able to add it to the [`nuxt-community`](https://github.com/nuxt-community) so basically all credit goes to them. It was just swapping `express` with `micro`.

## Installation

This is a project template for [vue-cli](https://github.com/vuejs/vue-cli).

```bash
npm install -g @vue/cli-init # isntall the bridge to make legacy templates work with Vue CLI 3

vue init nuxt-community/micro-template

cd # move to your project

npm install # or yarn install
```

> Make sure to use a version of vue-cli >= 2.1 (vue -V).

## Commands

| Command | Description |
|---------|-------------|
| npm run dev | Start micro server in development with Nuxt.js in dev mode (hot reloading). Listen on [http://localhost:3000](http://localhost:3000). |
| npm run build | Build the nuxt.js web application for production. |
| npm start | Start micro server in production. |

## Live Demo

[https://nuxt-micro.now.sh](https://nuxt-micro.now.sh)

And to see the source code visit [https://nuxt-micro.now.sh/_src](https://nuxt-micro.now.sh/_src)

## Documentation

- [micro](https://github.com/zeit/micro)
- [micro-route](https://github.com/dotcypress/micro-route/)
- [Nuxt.js](https://nuxtjs.org/guide/)
- [Vue.js](http://vuejs.org/guide/)

## Licenses

- [micro license](https://github.com/zeit/micro/blob/master/LICENSE.md)
- [micro-route license](https://github.com/dotcypress/micro-route/blob/master/LICENSE)
- [NuxtJS license](https://github.com/nuxt/nuxt.js/blob/master/LICENSE.md)
- [VueJS license](https://github.com/vuejs/vue/blob/master/LICENSE)