Sha256: 66fcc72d5b5bf609ec661c9ad8780ba3704050942e3cfc285e6dc4e55de805b1

Contents?: true

Size: 595 Bytes

Versions: 5

Compression:

Stored size: 595 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/javascript/**/*.js'
  ],
  darkMode: "class",
  plugins: [
    require(`@activeadmin/activeadmin/plugin`)
  ]
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
activeadmin-4.0.0.beta5 lib/generators/active_admin/assets/templates/tailwind.config.js
activeadmin-4.0.0.beta4 lib/generators/active_admin/assets/templates/tailwind.config.js
activeadmin-4.0.0.beta3 lib/generators/active_admin/assets/templates/tailwind.config.js
activeadmin-4.0.0.beta2 lib/generators/active_admin/assets/templates/tailwind.config.js
activeadmin-4.0.0.beta1 lib/generators/active_admin/assets/templates/tailwind.config.js