Skip to content

RocMark/Nuxt-Template

Repository files navigation

Nuxt Template

💿 Install

# install
npm i

# install & generate .env file (will overwrite)
npm run init

🚀 Usage

# serve with hot reload at localhost:3001
npm run dev

# build for production and launch server ( For SSR )
npm run build
npm run start

# generate static project ( Use on GithubPage )
npm run generate

⚙️ Functions

  • Vuex ( mapState, mapGetters, mapMutations, mapActions )
  • Router Example
  • Axios Plugin ( with axios instance & interceptor )
  • Google Analytics
  • Google Font ( Noto Sans TC )
  • normalize.css
  • Boostrap | jquery | popper.js ( on boostrap branch )
  • Simple Express Server

Environments

  • Global Environment Variables
  • Global SCSS Variable
  • ESLint
  • nuxt-start ( For Deploy )

BluePrint

  • Component
  • Layout
  • PageGroup ( Nested Routes )
  • Plugin-VueJS ( For VueJS plugin Ex: vuejs-date-pickeer)
  • Plugin-JS ( For JS plugin Ex: gsap)
  • Vuex Store & Vuex Snippets

Mock Server

  • Basic Route
  • CORS Setup
  • dayjs

TodoList

  • 處理 exampleModule 引入 interceptor 問題
  • 整理一下 meta tag => 寫在 index.js (想辦法讓每頁都套用)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published