Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 2 KB

README.md

File metadata and controls

54 lines (33 loc) · 2 KB

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

Δ micro + micro-route + Nuxt.js = ⚡

Origins

The repo had to be detached from it's ancestor nuxt-express to be able to add it to the 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.

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

vue init nuxt-community/micro-template <project-name>

cd <project-name> # 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.
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

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

Documentation

Licenses