This repository has been moved to:
https://github.com/typescript-nuxtjs-boilerplate/typescript-nuxtjs-boilerplate
🍱 typescript-nuxtjs-boilerplate
example url: https://typescript-nuxtjs-boilerplate.netlify.com/example
💾 Install
Note: requires node version >= 8.10.0 and npm version >= 5.6.0
First, clone the repo via git:
$ git clone --recursive git@github.com:hisasann/typescript-nuxtjs-boilerplate.git
Install yarn
for mac
$ brew install yarn
for windows
Install dependencies
Using yarn:
yarn install
Using npm:
npm install
Run sample server at localhost:5000
$ node ./tools/server.js
🔌 Serve with hot reload at localhost:4000
$ yarn run dev
or
$ yarn run local
and run mock server for examples
$ node ./tools/server.js
Build for production on docker and launch server
$ yarn run build:docker
$ yarn start
SPA mode
Build for production and $ yarn run build:static
It will be published in the dist
directory
For detailed explanation on how things work, checkout Nuxt.js docs.
📘 Example Links
- /example root directory
- sign-in
- sign-out
- ajax color(pattern1)
- ajax schema(pattern2)
- post custom http headers
- routing custom path(pattern1)
- routing custom path(pattern2)
- assets and static
- basic todo example
- vue life cycle
- use plugin
- custom head tag
- async custom head tag
- send http api in vuex
- get parameters
- image lazy load
- extend css class
- external include file
- dynamic import
- using user agent on ssr and csr
- i18n
- animation - animejs
- now utc offset with moment
- vue-carousel
- vue-awesome-swiper
- audio
- video
- server-side-set-cookie
- type safe vuex
- TypeScript annotation
- counter with typesafe
📚 Docs
See our docs and guides here
⚙️ Maintainers
🍜 License
MIT © hisasann