Skip to content

Commit

Permalink
docs(repo): change installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHladin committed Feb 20, 2025
1 parent e051f99 commit ef987fd
Showing 1 changed file with 8 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ export const routeMeta: RouteMeta = {
<p class="${hlmP}">
<code class="${hlmCode}">spartan/ui</code>
is built on top of TailwindCSS. Make sure your application has a working TailwindCSS setup before you continue.
Tailwind installation instructions can be found
<a
class="${hlmCode}"
href="https://tailwindcss.com/docs/installation/framework-guides/angular"
target="_blank"
>
here.
</a>
</p>
<p class="${hlmP}">
<code class="${hlmCode}">spartan/ui</code>
Expand Down Expand Up @@ -208,28 +216,6 @@ module.exports = {
to customize your theme.
</p>
<p class="${hlmP}">If you see error like this</p>
<spartan-code
class="mb-6 mt-4"
code="
✘ [ERROR] \`@layer base\` is used but no matching \`@tailwind base\` directive is present. [plugin angular-css]
src/styles.css:58:0:
58 │ @layer base {
"
/>
<p class="${hlmP}">Add these three Tailwind directives</p>
<spartan-code
class="mb-6 mt-4"
code="@tailwind base;
@tailwind components;
@tailwind utilities;
"
/>
<spartan-section-sub-heading id="adding-primitives">Adding primitives</spartan-section-sub-heading>
<p class="${hlmP}">
With the Nx plugin, adding primitives is as simple as running a single command. It will allow you to pick and
Expand Down

0 comments on commit ef987fd

Please sign in to comment.