GithubHelp home page GithubHelp logo
typescript-nuxtjs-boilerplate photo

typescript-nuxtjs-boilerplate Goto Github PK

repos: 2.0 gists: 0.0

Name: typescript-nuxtjs-boilerplate

Type: Organization

Bio: :bento: Nuxt.js with TypeScript and Run with docker and docker-compose

Location: Tokyo

🍱 typescript-nuxtjs-boilerplate

typescript-nuxtjs-boilerplateNuxt.jsTypeScript を使うためのボイラープレートになります 🦑

Example url: https://typescript-nuxtjs-boilerplate.netlify.com/example


⛑ Requirements

  • Node.js v10+ おすすめは v10.16.0 です

💾 Install

First, clone the repo via git:

git submodule でサンプルを書いているので、以下のように git clone してください

$ git clone --recursive [email protected]:typescript-nuxtjs-boilerplate/typescript-nuxtjs-boilerplate.git

Install yarn

for mac

$ brew install yarn

for windows

# for Windows (with Chocolatey)
$ choco install yarn

Use installer

Install dependencies

Using yarn:

yarn install

🔌 Serve with hot reload at localhost:4000

Nuxt のデフォルトのポートは 3000 ですが、他のプロセスにバッティングするケースが多いので、 4000 にしています

$ yarn run dev

or

localdev のエイリアスです

$ yarn run local

and run mock server for examples

そしてモックサーバーも別のプロセスとして起動させます

$ node ./tools/server.js

5000 番ポートで起動します

🕹 Build for production on docker and launch server

本番用の docker ビルドは以下になります

$ yarn run build:docker
$ yarn start

💻 Build for production and SPA mode

$ 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

サンプル集 - typescript-nuxtjs-boilerplate-docs

🖥 npm-scripts

npm scriptsの解説 - typescript-nuxtjs-boilerplate-docs

📚 Docs

typescript-nuxtjs-boilerplate のドキュメントです docs and guides here

⚙️ Maintainers

🍜 License

MIT © hisasann

twitter

typescript-nuxtjs-boilerplate's Projects

docs icon docs

Documentation of typescript-nuxtjs-boilerplate

typescript-nuxtjs-boilerplate icon typescript-nuxtjs-boilerplate

:bento: Nuxt.js with TypeScript and Run with docker and docker-compose 🐶🦄🔥 visit: https://typescript-nuxtjs-boilerplate.netlify.com/example

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.