Sha256: d28ea05d7969eb316d344cacefd8d68affe5a2b0066821bf68397afba26a1f8c

Contents?: true

Size: 650 Bytes

Versions: 5

Compression:

Stored size: 650 Bytes

Contents

const execSync = require('child_process').execSync;
const activeAdminPath = execSync('bundle show activeadmin', { encoding: 'utf-8' }).trim();

module.exports = {
  content: [
    `${activeAdminPath}/vendor/javascript/flowbite.js`,
    `${activeAdminPath}/plugin.js`,
    `${activeAdminPath}/app/views/**/*.{arb,erb,html,rb}`,
    './app/admin/**/*.{arb,erb,html,rb}',
    './app/views/active_admin/**/*.{arb,erb,html,rb}',
    './app/views/admin/**/*.{arb,erb,html,rb}',
    './app/views/layouts/active_admin*.{erb,html}',
    './app/javascript/**/*.js'
  ],
  darkMode: "selector",
  plugins: [
    require(`@activeadmin/activeadmin/plugin`)
  ]
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeadmin-4.0.0.beta14 lib/generators/active_admin/assets/templates/tailwind.config.js
activeadmin-4.0.0.beta13 lib/generators/active_admin/assets/templates/tailwind.config.js
activeadmin-4.0.0.beta12 lib/generators/active_admin/assets/templates/tailwind.config.js
activeadmin-4.0.0.beta11 lib/generators/active_admin/assets/templates/tailwind.config.js
activeadmin-4.0.0.beta10 lib/generators/active_admin/assets/templates/tailwind.config.js