example url: https://typescript-nuxtjs-boilerplate.netlify.com/example
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
for mac
$ brew install yarn
for windows
Using yarn:
yarn install
Using npm:
npm install
$ node ./tools/server.js
$ yarn run dev
or
$ yarn run local
and run mock server for examples
$ node ./tools/server.js
$ yarn run build:docker
$ yarn start
$ yarn run build:static
It will be published in the dist
directory
For detailed explanation on how things work, checkout Nuxt.js docs.
- /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
See our docs and guides here
MIT © hisasann