🌈 V2ex built with Nuxt.js (vue&ssr)
Clone or download
Latest commit 4e7a962 Jan 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets Optimization code Jun 14, 2018
build Restructure code Dec 21, 2018
components Fixed tests Dec 4, 2018
layouts Fixed lint throw vue error Nov 28, 2018
middleware Fix code style Sep 9, 2018
pages Fixed lint throw vue error Nov 28, 2018
plugins Add largeAvatar filter Aug 7, 2018
server Restructure code Dec 21, 2018
static Restructure code Dec 21, 2018
tests Restructure code Dec 21, 2018
utils Fix code style Sep 9, 2018
.editorconfig Restructure code Dec 21, 2018
.eslintignore Upgrade packages May 23, 2018
.eslintrc.js Fixed lint throw vue error Nov 28, 2018
.gitignore Restructure code Dec 21, 2018
LICENSE Create LICENSE Nov 27, 2018
README.md Restructure code Dec 21, 2018
nuxt.config.js Restructure code Dec 21, 2018
package.json Upgrade packages Jan 14, 2019
yarn.lock Upgrade packages Jan 14, 2019

README.md

n2ex

vue ssr v2ex,because it depends on nuxt so called n2ex

Performance

Features

  • Use vue ssr framework nuxt
  • Use Element UI library element
  • Use material Design UI library muse-ui
  • Use browser and node.js http client axios
  • Test runner ava
  • Test spies, stubs and mocks sinon
  • Unit test vue-test-utils
  • Node proxy solve CORS
  • Progressive Web Apps

page

  • Hot topic list
  • New topic list
  • Topic detail with comment
  • Node list
  • Node detail
  • User detail

Build Setup

# install dependencies
$ yarn

# install dependencies
$ yarn install

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

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

# generate static project
$ yarn run generate

# eslint
$ yarn run lint

# unit tests
$ yarn run test

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