Nuxt.js网站的例子使用Cosmic JS

Nuxt.js网站的例子使用Cosmic JS

JavaScript MVC框架和UI库

访问GitHub主页

共51Star

详细介绍

Nuxt.js Website

cosmic Vue Nuxt

View Demo

Getting Started

git clone https://github.com/cosmicjs/nuxt.js-website
cd nuxt.js-website
npm install # or yarn install

Run in development

npm run dev

Run in production

COSMIC_BUCKET=your-bucket-slug npm start

Open http://localhost:3000.

Nuxt.js + Vue + Cosmic JS

You can easily manage the content in your Nuxt.js website on Cosmic JS. Follow these steps:

  1. Log in to Cosmic JS.
  2. Create a Bucket.
  3. Go to Your Bucket > Apps.
  4. Install the Nuxt.js Website.
  5. Deploy your Nuxt.js Website to the Cosmic App Server at Your Bucket > Web Hosting.

Benefits

Nuxt.js

Nuxt.js is a gift to the Vue community. Building Vue universal applications is not an easy task and the Nuxt.js framework has greatly simplified the process. Some immediate benefits include:

  1. Less boilerplate for managing code reuse between server and client.
  2. Get up and going with your development environment instantly with hot-reloading.
  3. Simplified paging.

... see more on their GitHub page.

Cosmic JS

Cosmic JS is a perfect backend to manage your Universal application.

  1. Query each page easily using the Cosmic JS NPM Module.
  2. No CMS boilerplate to configure, fast and easy setup.
  3. No updates or security updates required.

... see more on the Cosmic JS website.