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

https://github.com/cosmicjs/nuxt-jamstack-website

JAMstack Website that uses Vue.js, Nuxt.js and Cosmic JS
https://github.com/cosmicjs/nuxt-jamstack-website

Last synced: 14 days ago
JSON representation

JAMstack Website that uses Vue.js, Nuxt.js and Cosmic JS

Awesome Lists containing this project

README

          

# JAMstack Website using Vue.js, Nuxt.js and Cosmic JS

![Screenshot](https://cosmic-s3.imgix.net/9c9b7f30-9123-11e9-af65-95e90f322628-nuxt-jamstack.png)

### [View Demo](https://cosmicjs.com/apps/jamstack-fitness-website)

This project was bootstrapped with [Create Nuxt App](https://nuxtjs.org/guide/installation#starting-from-scratch).

# Get Started

## Running server:

```
git clone https://github.com/cosmicjs/nuxt-jamstack-website
cd nuxt-jamstack-website
npm install
npm run build
npm start
```
Now visit: http://localhost:3000

## Available Scripts

In the project directory, you can run:

### `npm run dev`

Runs the app in the development mode.

Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.

You will also see any lint errors in the console.

### `npm run build`

Builds the app for production to the `dist` folder.

It correctly bundles app in production mode and optimizes the build for the best performance.

### Deploy to Netlify
```
npm i -g netlify-cli
npm i -g nuxt
netlify deploy # point to the dist folder
```