Skip to content

This is fluent-vue build module for Nuxt 2.

License

Notifications You must be signed in to change notification settings

fluent-vue/nuxt2-build-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@fluent-vue/nuxt2-build-module

This is fluent-vue build module for Nuxt 2.

What does it do?

  • Adds a fluent-vue-loader to support <fluent> custom blocks in SFC files
  • Adds a raw-loader to handle .ftl files
  • Enables SSR support for v-t directive

NOTE: When using v-t directive with v-bind directive, make sure to write v-t directive second. v-bind will clear all attributes added by v-t directive otherwise. This is a limitation of Vue 2 compiler.

Installation

Add this module to your dev dependencies:

pnpm add @fluent-vue/nuxt2-build-module -D

Add build module to your Nuxt 2 config.

{
  // ...
  buildModules: [
    '@fluent-vue/nuxt2-build-module'
  ],
  // ...
}

About

This is fluent-vue build module for Nuxt 2.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published