Skip to content

hu-config

Terminal window
npx hu-config
  1. Follow the hu-config Prompts.

    - What is your name? (name)
    - (name), are you using [packageManager]? Y/n
    - Great! Noted.
    - So (name), which set would you like to install? Custom
    - Which packages would you like to install?: Marp for VS Code, Prettier
  2. Configure your Astro project.

    Terminal window
    npm create astro
    - Where should we create your new project? ./your-app-name
    - How would you like to start your new project? Choose a template
    - Do you plan to write TypeScript? Yes
    - How strict should TypeScript be? Strict
    - Install dependencies? Yes
    - Initialize a new git repository? (optional) Yes/No
  3. Answer Yes when prompted by the CLI when installing React and Tailwind.

    Terminal window
    npx astro add react tailwind
  4. Finish all other configuration, then select Yes.

    styles/global.css
    @tailwind base;
    @tailwind components;
    @tailwind utilities;
  5. Follow the prompts to set up components.