1.0.0 • Published 1 year ago
nuxt-app-vue-module v1.0.0
App Vue Loader (POC)
A Nuxt module that adds support for the app.vue file in Nuxt 2 bridge, with support for both Vite and Webpack build tools.
Features
- ⛰ Just put
app.vue
and opt-in module innuxt.config.js
Quick Setup
- Add
nuxt-app-vue-module
dependency to your project
# Using pnpm
pnpm add -D nuxt-app-vue-module
# Using yarn
yarn add --dev nuxt-app-vue-module
# Using npm
npm install --save-dev nuxt-app-vue-module
- Add
nuxt-app-vue-module
to themodules
section ofnuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-app-vue-module'
],
bridge: {
appVue: true
}
})
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
# Release new version
npm run release
1.0.0
1 year ago