Git Product home page Git Product logo

nuxt-ssr-blog's Introduction

Nuxt.js SSR Blog

Serverless static-generated Nuxt.js Universal JavaScript web application. You can see the demo app here: https://nuxt-ssr-blog.firebaseapp.com/

A Nuxt.js project

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.

nuxt-ssr-blog's People

Contributors

olayinkaos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nuxt-ssr-blog's Issues

Stacking error "about" in the url

When you press the about tab it is added to the url /about. Then if the tab is pressed three times the url is damaged thus /about/about/about

nuxt.config.js

hello, i want to ask:
if i use 'npm run generate', should i add 'target: 'static' to the nuxt.config.js ?

Error: Failed to compile

Environments:
node: 7.9.0 and 8.1.2
npm: 4.2.0 and 5.0.3
os: linux x64

Steps to reproduce:
npm install
npm run dev

Output:

> [email protected] dev /nuxt-ssr-blog
> nuxt
  nuxt:build App root: /nuxt-ssr-blog +0ms
  nuxt:build Generating /nuxt-ssr-blog/.nuxt files... +1ms
Ready on http://127.0.0.1:3000
  nuxt:build Generating files... +60ms
  nuxt:build Generating routes... +13ms
  nuxt:build Adding webpack middleware... +21ms
Build completed in 11.082s

 ERROR  Failed to compile with 1 errors                                                    

This dependency was not found:

* ~components/Posts.vue in ./~/babel-loader/lib?{"presets":["vue-app"],"babelrc":false,"cacheDirectory":true}!./~/vue-loader/lib/selector.js?type=script&index=0!./pages/index.vue

To install it, you can run: npm install --save ~components/Posts.vue




Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.