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: 3 months ago
JSON representation
Starter template for Nuxt.js with Δ micro
- Host: GitHub
- URL: https://github.com/nuxt-community/micro-template
- Owner: nuxt-community
- Created: 2017-01-31T19:45:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T10:21:50.000Z (about 4 years ago)
- Last Synced: 2024-04-20T08:53:19.169Z (9 months ago)
- Language: JavaScript
- Homepage: https://nuxt-micro.now.sh
- Size: 194 KB
- Stars: 73
- Watchers: 4
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-micro - nuxt-micro - A [Vue-CLI](https://github.com/vuejs/vue-cli) template to generate a [Nuxt.js](https://github.com/nuxt/nuxt.js) project with micro as a backend (Boilerplates / Utilities)
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 3vue 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)