@ramathibodi/nuxt-commons
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

@ramathibodi/nuxt-commons

npm version npm downloads License Nuxt

Quick Setup

  1. Add '@ramathibodi/nuxt-commons' dependency to your project
# Using pnpm
pnpm add -D @ramathibodi/nuxt-commons

# Using yarn
yarn add --dev @ramathibodi/nuxt-commons

# Using npm
npm install --save-dev @ramathibodi/nuxt-commons
  1. Add my-module to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    '@ramathibodi/nuxt-commons'
  ]
})

That's it! You can now use My Module in your Nuxt app ✨

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release

NPM Login

npm login
  • จะส่ง link url มาให้เข้าไปที่ url login npm

NPM PUBLISH

1. ตรวจสอบ source code, ตรวจสอบ Branch ว่าเป็น master แล้ว จากนั้นตรวจสอบ version ของ npm ว่ามีการเปลี่ยนและไม่ชนกับ version บน npm
2. npm run dev:build
3. npm publish --access public
4. set token ใน link ที่ npm ให้มา
5. เสร็จสิ้น

Readme

Keywords

none

Package Sidebar

Install

npm i @ramathibodi/nuxt-commons

Weekly Downloads

377

Version

0.1.7

License

MIT

Unpacked Size

139 kB

Total Files

71

Last publish

Collaborators

  • chat.den
  • shadowaun
  • tantee