nuxt-rtlcss
TypeScript icon, indicating that this package has built-in type declarations

1.2.4 • Public • Published

NuxtJs RTLCSS Module

npm version npm downloads License Nuxt

NuxtJs RTLCSS Module to build Cascading Style Sheets (CSS) with Left-To-Right (LTR) and Right-To-Left (RTL) rules using RTLCSS PostCss Plugin

Features

  • 🙂  Auto RTL All Styles
  • ⛰ Nuxt 3

Quick Setup

  1. Add nuxt-rtlcss dependency to your project
# Using pnpm
pnpm add -D nuxt-rtlcss

# Using yarn
yarn add --dev nuxt-rtlcss

# Using npm
npm install --save-dev nuxt-rtlcss
  1. Add nuxt-rtlcss to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: [
    // "@nuxtjs/tailwindcss" or any styled base module
    // ...
    "nuxt-rtlcss",
  ],
  rtlcss: {
    // ... options
  },
});

⚠️ make sure load rtlcss module at the end of modules list.

That's it! You can now use RTLCSS Module in your Nuxt app ✨

Options

Development

# Install dependencies
pnpm install

# Generate type stubs
pnpm run dev:prepare

# Develop with the playground
pnpm run dev

# Build the playground
pnpm run dev:build

# Run ESLint
pnpm run lint

# Run Vitest
pnpm run test
pnpm run test:watch

# Release new version
pnpm run release

Package Sidebar

Install

npm i nuxt-rtlcss

Weekly Downloads

13

Version

1.2.4

License

MIT

Unpacked Size

5.49 kB

Total Files

9

Last publish

Collaborators

  • amin.mokhtari94