bin/dev, I get this: 13:30:55 web.1 | started with pid 36044ġ3:30:56 web.1 | => Rails 7.0.2.3 application starting in developmentġ3:30:56 web.1 | => Run `bin/rails server -help` for more startup optionsġ3:30:56 web.1 | Puma starting in single mode.ġ3:30:56 web.1 | * Puma version: 5.6.4 (ruby 3.1.1-p18) ("Birdie's Version")ġ3:30:56 web.1 | * Environment: developmentġ3:30:56 web.1 | * Listening on 13:30:56 web.1 | Use Ctrl-C to stopġ3:30:57 css.1 | node:internal/modules/cjs/loader:933ġ3:30:57 css.1 | const err = new Error(message) ġ3:30:57 css.1 | Error: Cannot find module 'daisyui'ġ3:30:57 css.1 | - /Users/phillip/Dev/test_project/config/ġ3:30:57 css.1 | - /snapshot/tailwindcss/lib/cli.jsġ3:30:57 css.1 | - /snapshot/tailwindcss/standalone-cli/standalone.jsġ3:30:57 css.1 | 1) If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. And I added require("daisyui") to the array of plugins in config/.īut when I run. bin/importmap pin daisyui, which added a whole bunch of lines to config/importmap.rb. But I'm having trouble figuring out how to get daisyUI working with Tailwind in the new toolchain. I'm excited by the idea of leaving Webpacker (and maybe React) behind. I'm trying to build a new Rails 7 project, testing out Hotwire and some of the new default stuff.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |