|
2 жил өмнө | |
---|---|---|
.. | ||
playground | 03c1a88d25 feat(nuxt): runtime plugin add provides there | 2 жил өмнө |
src | 03c1a88d25 feat(nuxt): runtime plugin add provides there | 2 жил өмнө |
test | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
.editorconfig | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
.eslintignore | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
.eslintrc | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
.gitignore | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
.npmrc | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
.nuxtrc | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
README.md | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
package.json | 03c1a88d25 feat(nuxt): runtime plugin add provides there | 2 жил өмнө |
tsconfig.json | 32cacfc2a3 feat(nuxt): module draft and playground | 2 жил өмнө |
My new Nuxt module for doing amazing things.
Add my-module
dependency to your project
# Using pnpm
pnpm add -D my-module
# Using yarn
yarn add --dev my-module
# Using npm
npm install --save-dev my-module
Add my-module
to the modules
section of nuxt.config.ts
export default defineNuxtConfig({
modules: [
'my-module'
]
})
That's it! You can now use My Module in your Nuxt app ✨
# 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