/nuxtjs-sample

Nuxtjs sample! Typescript + Vuetify + Jest! (rails api server: https://github.com/walkersumida/rails-api-for-front)

Primary LanguageVue

nuxtjs-sample

CircleCI

TypeScript + Nuxt.js + Vuetify + Jest

nuxtjs-sample

Run docker

# run docker
$ make docker_up

Run test

$ make docker_bash
$ yarn test

Sample Pages

Demo user

Demo user.

sign in

http://0.0.0.0:8080/sign_in

sign out

http://0.0.0.0:8080/sign_out

post index page(Authorization: required)

http://0.0.0.0:8080/posts

post new page(Authorization: required)

http://0.0.0.0:8080/posts/new

Build Setup

# 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

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