-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamp tooling; add webtrees to dependency/build chain; clean up redu…
…ndant styles
- Loading branch information
Showing
21 changed files
with
45,829 additions
and
2,791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[submodule "src/scss/argon-dashboard"] | ||
path = src/scss/argon-dashboard | ||
url = [email protected]:creativetimofficial/argon-dashboard.git | ||
[submodule "src/scss/BeautifyMarker"] | ||
path = src/scss/BeautifyMarker | ||
url = [email protected]:masajid390/BeautifyMarker.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,17 +56,26 @@ When change is made to these views in the webtrees codebase, it needs to be inco | |
|
||
**Clone repository** | ||
|
||
Unfortunately, only `leaflet` and `tom-select` are available in the npm Registry. `argon-dashboard` and `BeautifyMarker` must be sourced as Git submodules. | ||
`argon-dashboard` must be sourced as a Git submodules. | ||
|
||
Therefore, you must pass the `--recurse-submodules` flag when cloning the repository in order for their contents to be populated: | ||
Therefore, you must pass the `--recurse-submodules` flag when cloning the repository in order for its contents to be populated (under `src/resources/scss/argon-dashboard`): | ||
|
||
``` | ||
git clone --recurse-submodules [email protected]:jchue/argon-webtrees-theme.git | ||
``` | ||
|
||
**Install dependencies and run in watch mode** | ||
|
||
To keep things simple, webtrees itself is not included nor is it enforced as a dependency. Just place the entire repository in the `modules_v4/` directory of webtrees, then run: | ||
webtrees itself is a required dependency, since its base and vendor styles are utilized in the pipeline. First install it as well as its subdependencies: | ||
|
||
```sh | ||
composer install | ||
npm run vendor | ||
``` | ||
|
||
Composer is configured to install webtrees from source, so it should include the required stylesheets. | ||
|
||
Then install the theme's Node dependencies and start the webpack watcher: | ||
|
||
```sh | ||
npm install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"config": { | ||
"preferred-install": { | ||
"fisharebest/webtrees": "source" | ||
} | ||
}, | ||
"require-dev": { | ||
"fisharebest/webtrees": "~2.1" | ||
} | ||
} |
Oops, something went wrong.