All Projects → liyanlong → Nuxt Egg

liyanlong / Nuxt Egg

Licence: mit
Nuxt.js + Egg FrameWork

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Nuxt Egg

egg-nuxt
The Nuxt plugin for eggjs
Stars: ✭ 23 (-73.26%)
Mutual labels:  nuxt, egg
egg-nuxt-blog
Nuxt.js(web端) + Egg.js(api 服务) + Vue.js(管理后台)+ ElementUI(通用组件库)服务器渲染(SSR)搭建的个人博客系统
Stars: ✭ 16 (-81.4%)
Mutual labels:  nuxt, egg
Nuxt Jest Puppeteer
🚀 Nuxt.js zero configuration tests, run with Jest and Puppetter
Stars: ✭ 57 (-33.72%)
Mutual labels:  nuxt
Fontawesome Module
Module to use Font Awesome icons in Nuxt.js
Stars: ✭ 79 (-8.14%)
Mutual labels:  nuxt
Sample Vue Shop
See readme for newer repo details! A sample shop that shows how to manage payments with Vue, Stripe, and Serverless Functions
Stars: ✭ 1,166 (+1255.81%)
Mutual labels:  nuxt
Nuxt Compress
A simple static asset compression module for Nuxt that runs Gzip and Brotli compression during the build process
Stars: ✭ 61 (-29.07%)
Mutual labels:  nuxt
Docker Nuxt
Docker image to run NUXT.js application in production mode
Stars: ✭ 71 (-17.44%)
Mutual labels:  nuxt
Zaneperfor
前端性能监控系统,消息队列,高可用,集群等相关架构
Stars: ✭ 1,085 (+1161.63%)
Mutual labels:  egg
Community Modules
Stars: ✭ 1,258 (+1362.79%)
Mutual labels:  nuxt
Wikiloop Doublecheck
WikiLoop DoubleCheck: a web tool to help review Wikipedia edits easily and collaboratively.
Stars: ✭ 70 (-18.6%)
Mutual labels:  nuxt
Bbs Go
基于Golang的开源社区系统。
Stars: ✭ 1,212 (+1309.3%)
Mutual labels:  nuxt
Vue Storefront
The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Ne…
Stars: ✭ 9,111 (+10494.19%)
Mutual labels:  nuxt
Vuex Orm Examples Nuxt
The example Nuxt application to demonstrate the use case of the Vuex ORM.
Stars: ✭ 63 (-26.74%)
Mutual labels:  nuxt
Egg Schedule
Schedule plugin for egg
Stars: ✭ 76 (-11.63%)
Mutual labels:  egg
Prestashop
Free PWA & SPA for PrestaShop
Stars: ✭ 59 (-31.4%)
Mutual labels:  nuxt
Vue Masonry Wall
A pure vue responsive masonry layout without direct dom manipulation and ssr support.
Stars: ✭ 79 (-8.14%)
Mutual labels:  nuxt
Api Mocker
Api Mocker is more of an api management system than a mocker.
Stars: ✭ 1,090 (+1167.44%)
Mutual labels:  egg
Ecommerce Netlify
🛍 A JAMstack Ecommerce Site built with Nuxt and Netlify Functions
Stars: ✭ 1,147 (+1233.72%)
Mutual labels:  nuxt
Nuxt Tailwind
A Nuxt.js starter project template using Tailwind CSS without the distraction of a complicated development environment.
Stars: ✭ 71 (-17.44%)
Mutual labels:  nuxt
Nuxt Graphql Request
Easy Minimal GraphQL client integration with Nuxt.js.
Stars: ✭ 85 (-1.16%)
Mutual labels:  nuxt

Egg-Nuxt

Egg + Nuxt.js = 🔥

NPM version build status Test coverage David deps npm download lincense image

Requirement

  • node >= 6.0.0

Quick Usage

$ npm install -g vue-cli
$ vue init nuxt-egg/starter my_project
or 
$ npm install -g egg-init
$ egg-init --package=egg-boilerplate-nuxt my_project

$ cd my_prject
$ npm install
$ npm run dev

Direct Structure

Look at egg-framework

nuxt-egg-project
├── .nuxt
├── resources
|   ├── pages
│   ├── assets
│   |   └── css
│   |   └── img
│   ├── static
│   ├── layouts
│   ├── middleware
│   ├── plugins
│   ├── components
├── package.json
├── app.js (option)
├── agent.js (option)
├── app
|   ├── router.js
│   ├── controller
│   |   └── home.js
│   ├── service (option)
│   |   └── user.js
│   ├── middleware (option)
│   |   └── response_time.js
│   ├── schedule (option)
│   |   └── my_task.js
│   ├── public (option)
│   |   └── reset.css
│   ├── view (option)
│   |   └── home.tpl
│   └── extend (option)
│       ├── helper.js (option)
│       ├── request.js (option)
│       ├── response.js (option)
│       ├── context.js (option)
│       ├── application.js (option)
│       └── agent.js (option)
├── config
|   ├── plugin.js
|   ├── config.default.js
│   ├── config.prod.js
|   ├── config.test.js (option)
|   ├── config.local.js (option)
|   └── config.unittest.js (option)
└── test
    ├── middleware
    |   └── response_time.test.js
    └── controller
        └── home.test.js

Nuxt.js Changes

  • The Nuxt config file is now in config.[dev].js, dev allow set default, unittest, local, prod
  • The Nuxt project directory is resources (default)

config.default.js

const path = require('path');
exports.nuxt = {
  srcDir: path.join(__dirname, '../resources'),
  rootDir: path.dirname(__dirname),
}

Or you can also do this

// config/config.default.js
exports.nuxt = require('./config.nuxt.js');

// config/config.nuxt.js
module.exports = {
  srcDir: ''
  rootDir: ''
}

Live Demo

Documentation

Licenses

Note

  • egg-init doesn't support download image now, so the logo.png will not be open normal.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].