This project was generated with Angular CLI version 6.0.3.
To install this package run following command:
yarn add @evo/ui-kit
Add to styles in angular.json
"styles": [
...
"node_modules/@evo/ui-kit/styles/main.scss",
...
],
Add fonts from Google Fonts
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,600i,700&subset=cyrillic-ext" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Ubuntu:400,400i,500,500i,700&subset=cyrillic,cyrillic-ext" rel="stylesheet">
- Merge PR to
master
git checkout master && git pull
yarn release
git add -p && git commit -m 'package(evo-ui-kit): version up'
git push origin
yarn publish-package
If you have password on your ssh key, add it to ssh-agent.
If you have renamed your ssh key, add it to ssh-config.
Host github.com
IdentityFile ~/.ssh/{yourKey}
Run server
yarn run build:evo-ui-kit
yarn run storybook
Build
yarn run build:evo-ui-kit
yarn run build:storybook
Run yarn run build:evo-ui-kit
to build the ui kit. The build artifacts will be stored in the dist/
directory.
- Install package as devDependency at root project folder
- Add package to projects/evo-ui-kit/package.json to peerDependencies
- Add package to projects/evo-ui-kit/package.json to dependencies
- Add package to projects/evo-ui-kit/ng-package.json to whitelistedNonPeerDependencies
- Add package to projects/evo-ui-kit/ng-package.prod.json to whitelistedNonPeerDependencies
git add -f dist
git commit -m 'commit message'
git push
git subtree push --prefix dist/evo-ui-kit origin deploy
Build ui kit library and install styles. Run yarn build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Build ui kit library and install styles. Run yarn start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng generate component --project evo-ui-kit component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project evo-ui-kit
.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
To get more help on the libraries go check out the Angular CLI WIKI.