Tikui core is the heart of Tikui. Combined to a documentation and some configurations you will be able to create a Tikui project.
- Nodejs
You can use it by using Tikui CLI.
The other way to use it is on a node project as a dependency, here is an example of use:
mkdir example-project
cd example-project
npm init
# Follow instructions
npm i @tikui/core tikuidoc-tikui sass
echo '{"documentation": "tikui"}' > tikuiconfig.json
mkdir src
npx tikui-core serveTikui is started, you may see how sources are organized to understand how to organize your components by looking at the Tikui sources structure.
npm iTikui core contains integration and unit tests to specify features, you have to launch tests using npm:
npm testThen you can add other tests to make a new feature and when all your feature tests are green you can create a Pull Request.
If you want to check the served generated Tikui is correct, please launch:
npm run component-test:openThen you can add new Cypress scenarios and tests.
It's also possible to launch Component Tests in preview mode using:
npm run component-test:build
npm run component-test:preview:open