0

I have installed argon design system using npm. And inside the head tag, I have added links from the documentation. But I want to extract it from node modules using mix. And run in webpack so that it renders styles. Please, someone, help with a detailed answer.

Yilmaz
  • 35,338
  • 10
  • 157
  • 202

1 Answers1

0

import the argon js file (in bootstrap.js for example if you're using the default laravel boilerplate) after popper, jquery and bootstrap:

require("argon-design-system-free/assets/js/argon-design-system");

and the css file (in app.scss if you're using it):

@import "~argon-design-system-free/assets/css/argon-design-system.css";

if you want the nucleo icons import then before the css file:

@import "~argon-design-system-free/assets/css/nucleo-icons.css";
Rabah
  • 2,052
  • 2
  • 16
  • 20