Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walkersumida/nuxtjs-sample
Nuxtjs sample! Typescript + Vuetify + Jest! (rails api server: https://github.com/walkersumida/rails-api-for-front)
https://github.com/walkersumida/nuxtjs-sample
nuxt nuxtjs vue vuejs
Last synced: about 2 months ago
JSON representation
Nuxtjs sample! Typescript + Vuetify + Jest! (rails api server: https://github.com/walkersumida/rails-api-for-front)
- Host: GitHub
- URL: https://github.com/walkersumida/nuxtjs-sample
- Owner: walkersumida
- Created: 2019-04-14T12:12:21.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T10:59:09.000Z (almost 2 years ago)
- Last Synced: 2024-11-02T01:23:09.783Z (about 2 months ago)
- Topics: nuxt, nuxtjs, vue, vuejs
- Language: Vue
- Homepage:
- Size: 2.68 MB
- Stars: 28
- Watchers: 3
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# nuxtjs-sample
[![CircleCI](https://circleci.com/gh/walkersumida/nuxtjs-sample.svg?style=svg)](https://circleci.com/gh/walkersumida/nuxtjs-sample)
TypeScript + Nuxt.js + Vuetify + Jest
![nuxtjs-sample](https://user-images.githubusercontent.com/12683375/79627129-b880f200-8170-11ea-8502-0c94c58e65e7.gif)
## Run docker
```bash
# run docker
$ make docker_up
```## Run test
```bash
$ make docker_bash
$ yarn test
```## Sample Pages
### Demo user
[Demo user](https://github.com/walkersumida/rails-api-for-nuxtjs#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
``` bash
# 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](https://nuxtjs.org).