![]() There are good instructions for installing this plugin, and using its default styles, in the plugin’s Read Me file. The good news is that since I wrote my ‘Beginner’s Guide’ post, Tailwind has added a first-party Typography plugin which adds “sensible typography styles to any vanilla HTML”. So all the type styling has to be built up from a zero base, rather than hacking it down from the framework’s pre-set defaults. In fact, one of Tailwind’s key features is that it comes with no pre-set typography at all. Tailwind is incredibly useful for rapid prototyping of the structure and layout of your website, but it does nothing to HTML output from a Markdown field. However, the most likely reason for your problems, and a misunderstanding I also had when I started with Tailwind, is that this CSS utility framework doesn’t actually work within the Markdown field! I’m still a beginner with this stuff, so I might not be the best person to advise here! “build”: “postcss site/stylesheets/main.css -o assets/style.css”,ġ verbose cli Ģ info using info using verbose stack Error: Failed to parse jsonĤ verbose stack Unexpected token } in JSON at position 536 while parsing near '…ndcss": “^2.0.2”,Ĥ verbose stack at parseError (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:470:11)Ĥ verbose stack at parseJson (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:105:26)Ĥ verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:52:5Ĥ verbose stack at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:123:16Ĥ verbose stack at FSReqCallback.readFileAfterClose (internal/fs/read_file_context.js:63:3)ĥ verbose cwd /Users/patbass/My Sites/DND-Kirbyħ verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “build”ġ1 error file /Users/patbass/My Sites/DND-Kirby/package.jsonġ2 error JSON.parse Unexpected token } in JSON at position 536 while parsing near '…ndcss": “^2.0.2”,ġ3 error JSON.parse Failed to parse package.json data.ġ3 error JSON.parse package.json must be actual JSON, not just JavaScript. I seem to be having an error parsing the JSON that I cannot seem to debug. I wanted to be clear that it is very helpful. You’ve done a ton of work compiling this info. Update: I read through all of your instructions again. In fact, I struggled a bit going down those roads and I’m very happy to see someone pave the way for newcomers, so thank you for this! On the other hand, it looks like you’ve really done your research, you’ve documented it brilliantly, shown the potential pitfalls and how to avoid them, and… moved from Statamic to Kirby, so it’s hard to say you’ve gone wrong at all. It could be an old school thing, since I’m old, but my feedback is that those are a lot of steps for the kind of person who is afraid of CL (seems to me). ![]() So, clearly in my case it depends on who you work with or what you/your client are comfortable with. ![]() ![]() I think I had already explored about 60% of the steps you’ve taken and went the valet and composer routes, but when working with others on Kirby projects, they preferred a more simpler approach without composer. Then I started reading down your documentation which was really helpful but then noticed how much directions you have and thought “wait, all of this compared to CodeKit and Mamp?”. Then I saw that you struggled with CodeKit and Mamp, which are fairly strait forward. I really wanted to read up on this one since the headline suggested there was a simpler way.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |