-
Notifications
You must be signed in to change notification settings - Fork 1
Installing Locally
Tony edited this page Aug 10, 2017
·
2 revisions
Welcome to the styleguide wiki! It's just a draft for now based on my experience installing it. Thomas may have different approach so please share your feedback here
- Make sure the repo installed in a folder containing the other 2 repos
components
andscss
as they're dependent and we'd like to connect them to each other locally to see local changes before commiting them - Install auerila CLI globally first:
npm install aurelia-cli -g
- In
aurelia.json
change"documentation"."source"
to be like this:
"documentation": {
"source": [
"../scss/doc/*/*.md",
"../components/doc/*/*.md"
]
},
But make sure this change isn't commited as it's only helpful for seeing changes locally
- Somehow the
scss
andcomponents
repos are linked with ssh link which isn't working so I changed them to:
"styleguide-web-components": "git+https://github.com/wholesale-design-system/components.git#master"
"wholesale-styleguide-scss": "git+https://github.com/wholesale-design-system/scss.git"
- run
au run --watch
- http://localhost:9001/#/
One common issue is the router might stop working and all links freez, the current solution is to break the command (crtl+c)
and re-run it again au run --watch