package.json
{
"name": "app",
"private": "true",
"dependencies": {
"@hotwired/stimulus": "^3.0.1",
"@hotwired/turbo-rails": "^7.1.1",
"@popperjs/core": "^2.11.4",
"autoprefixer": "^10.4.15",
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.8.1",
"esbuild": "^0.14.30",
"postcss": "^8.4.29",
"sass": "^1.49.11",
"tailwindcss": "^3.3.3"
},
"scripts": {
"build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds",
"build:css": "sass ./app/assets/stylesheets/application.bootstrap.scss ./app/assets/builds/application.css --no-source-map --load-path=node_modules",
"tailwindcss:watch": "tailwindcss build -o app/assets/builds/application.css --watch"
}
}
一応tailwind.config.jsファイルの中身です。↓
一応tailwind.config.jsファイルの中身です。↓
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./proj/netlibx/app/view/home/top.html'],
theme: {
extend: {},
},
plugins: ["tailwindcss", "autoprefixer"],
}
node_modulesのtailwindcssファイルの中身
何
#!/usr/bin/env node
"use strict";
if (false) {
module.exports = require("./oxide/cli");
} else {
module.exports = require("./cli/index");
}
何が問題ですか?
なんでtailwindcssタスクが存在してないことになってるんですか?