typescript-nuxtjs-boilerplate
ใฏ Nuxt.js ใง TypeScript ใไฝฟใใใใฎใใคใฉใผใใฌใผใใซใชใใพใ ๐ฆ
Example url: https://typescript-nuxtjs-boilerplate.netlify.com/example
- Node.js v10+ ใใใใใฏ
v10.16.0
ใงใ
First, clone the repo via git:
git submodule
ใงใตใณใใซใๆธใใฆใใใฎใงใไปฅไธใฎใใใซ git clone
ใใฆใใ ใใ
$ git clone --recursive [email protected]:typescript-nuxtjs-boilerplate/typescript-nuxtjs-boilerplate.git
for mac
$ brew install yarn
for windows
# for Windows (with Chocolatey)
$ choco install yarn
Using yarn:
yarn install
Nuxt ใฎใใใฉใซใใฎใใผใใฏ 3000
ใงใใใไปใฎใใญใปในใซใใใใฃใณใฐใใใฑใผในใๅคใใฎใงใ 4000
ใซใใฆใใพใ
$ yarn run dev
or
local
ใฏ dev
ใฎใจใคใชใขในใงใ
$ yarn run local
and run mock server for examples
ใใใฆใขใใฏใตใผใใผใๅฅใฎใใญใปในใจใใฆ่ตทๅใใใพใ
$ node ./tools/server.js
5000
็ชใใผใใง่ตทๅใใพใ
ๆฌ็ช็จใฎ docker
ใใซใใฏไปฅไธใซใชใใพใ
$ 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.
ใตใณใใซ้ - typescript-nuxtjs-boilerplate-docs
npm scriptsใฎ่งฃ่ชฌ - typescript-nuxtjs-boilerplate-docs
typescript-nuxtjs-boilerplate
ใฎใใญใฅใกใณใใงใ docs and guides here
MIT ยฉ hisasann