Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fe/main build #6

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Fe/main build #6

wants to merge 8 commits into from

Conversation

Eventyret
Copy link

Please see: Notion Doc for commands that are added to package.json

Let me know if you want any changes to it.

  • Created a top-level package.json with different scripts to start and stop development (this should simplify frontend work running everything we need)
  • Created our Typescript copying script copytypes.js To use the built-in yarn strapi ts:generate-types command. It will copy it into the frontend
  • Configured TS types to include these new types.
  • Configured tailwind to apply
  • Configured ShadCN to the frontend.

// Adjust these paths as per your project structure
const files = [
{
src: path.join(__dirname, "./backend/types/generated/contentTypes.d.ts"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably use an os agnostic package, while none of us use windows there might be some external users or fork/clone this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants