Front-end designer and entrepreneur living off-grid in the Garden Route of South Africa. Previously WordPress, now JAM. Loves to grow/cook/eat. Obsessed with grilling/smoking/curing. Big-ass fro.
Hi Jerric :) I decided to start over and the 2nd time round everything is working fine. Not sure where I went wrong before.
On an unrelated note, what would be the best way to add Sapper to the project? All the examples I've seen recommend starting with the Sapper template, but not anything about adding to existing templates.
It can be done, but trust me going the template way is the best, you'll have to deal with both server side and client side dependencies. It's faster and straightforward with the template.
If you wanna add tailwind, just make sure you add the preprocess in both client and server side in the rollup config. To add story book it's the same process as mentioned in the blog here.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Did you try running the code in the repo? Also can you share the error details?
Hi Jerric :) I decided to start over and the 2nd time round everything is working fine. Not sure where I went wrong before.
On an unrelated note, what would be the best way to add Sapper to the project? All the examples I've seen recommend starting with the Sapper template, but not anything about adding to existing templates.
TIA!
It can be done, but trust me going the template way is the best, you'll have to deal with both server side and client side dependencies. It's faster and straightforward with the template.
If you wanna add tailwind, just make sure you add the preprocess in both client and server side in the rollup config. To add story book it's the same process as mentioned in the blog here.