1.0.0 • Published 3 years 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.vueand opt-in module innuxt.config.js
Quick Setup
- Add
nuxt-app-vue-moduledependency 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-moduleto themodulessection 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 release1.0.0
3 years ago