Documentation for the XCentium Component Library
- To build and run this project locally, clone the repository:
git clone https://github.com/adambezemek/xc-front-end.git
- To install all dependencies - in the root of the main project directory run:
npm install
- To runs the development server and allows you to develop locally
npm start
- To build the distribution assets
npm run build
If you receive the build error Expected indentation of 0 spaces
when building for the first time, you can fix with the following methods
-
VS Code
In the bottom-right corner of the editor, click on CRLF and change to LF -
Visual Studio
File > Save As > Click the dropdown arrow > Save with encoding.
Change the line endings from CRLF to LF -
Notepad++
Do a find & replace of\r\n
to\n
in the offending files.