wedmaniac
A Question about Tailwind plugins in Fresh
Hi there! I recently found this plugin for Tailwind: https://github.com/jamiebuilds/tailwindcss-animate, which is supposed to help to define even more properties on the tailwind animations. For example if I have understood everything correctly. However I have really struggled to import it. How would one go about importing this into a fresh fresh.js project. I'm using Fresh.1.5.2, Thanks in advance;)
13 replies
Making Post Request To HubSpot Api
Hi there I'm trying to make a post request to the HubSpot Api. However the request results in a "HubSpot API responded with status: 401" ´401 Unauthorized is returned when the authentication provided is invalid.´
https://developers.hubspot.com/docs/api/crm/contacts
Selected scopes on the HubSpot app:
crm.objects.companies.read
crm.objects.contacts.read
crm.objects.contacts.write
crm.objects.companies.write
All help is super appreciative! Thank you in advance!
4 replies
Struggling with interactive FreshCharts
Hi there I'm trying to display charts in my fresh js project. i want to have them as islands according to the github repo https://github.com/denoland/fresh_charts the /islands/chart.tsx should look like this
So i import the library in deno.json
and bellow is my /island/chart.tsx
But i get a error: Identifier expected. they have little showcase here
https://fresh-charts.deno.dev/
What am I doing wrong?? 🙂
11 replies
Preact hooks doesn't get executed!
im having a little problem, the hooks from preact doesn't seem to run, canst see any errors in the terminal and the dependency is imported. Would love to get help:)
import { useEffect } from "preact/hooks";
export default function MyPage() {
useEffect(()=> {
console.log("this message will not be executed:(")
}, []);
return (
blah blah blah
)
}
15 replies