Installation
Installing ACoreX is very easy and simple, first you need to create your Angular project development environment using nx
or angular cli
or any other tools.
To install ACoreX, it is enough to install core, components and styles packages using npm or yarn or any similar tool.
Add ACoreX style into main style file (style.scss)
Instead of using the default theme, you can copy the variables of the node_modules/@acorex/styles/src/themes/default.scss
file into a new file and change the colors and sizes and call your own theme in the styles.scss file instead of the default theme.
In the next step, you choose the icon style file according to your needs. By default, ACoreX supports font-awesome
and material-icons
. Load these files into the styles.scss file and then import the fontawesome or material style. You can see more on the icons page.
Finally, our styles.scss
file should look like this
if you want use tailwindcss
add acorex-presets to tailwind.config.js
and also add Tailwind directives to your styles.scss
In the last step, you must add Translate to the project, this is a mandatory and necessary item to display fixed texts in the project, without calling that text, different parts will not be displayed correctly.