1.1.2 • Published 11 months ago
@deverloprama/common-components v1.1.2
@ramathibodi/nuxt-commons
Quick Setup
- 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
- Add
my-module
to themodules
section ofnuxt.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. เสร็จสิ้น
1.1.2
11 months ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.17
1 year ago
1.0.16
1 year ago
1.0.15
1 year ago
1.0.14
1 year ago
1.0.13
1 year ago
1.0.11
1 year ago
1.0.12
1 year ago
1.0.10
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago