mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Configured yarn dev
to allow starting Comments-UI
refs https://github.com/TryGhost/Toolbox/issues/400 - this allows for easier development with Comments-UI
This commit is contained in:
parent
76a6a14731
commit
dfd5c50b80
2 changed files with 9 additions and 2 deletions
10
.github/dev.js
vendored
10
.github/dev.js
vendored
|
@ -137,7 +137,15 @@ if (DASH_DASH_ARGS.includes('lexical')) {
|
|||
COMMAND_GHOST.env['editor__url'] = 'http://localhost:4173/koenig-lexical.umd.js';
|
||||
}
|
||||
|
||||
if (DASH_DASH_ARGS.includes('comments')) {
|
||||
if (DASH_DASH_ARGS.includes('comments') || DASH_DASH_ARGS.includes('all')) {
|
||||
commands.push({
|
||||
name: 'comments',
|
||||
command: 'yarn dev',
|
||||
cwd: path.resolve(__dirname, '../apps/comments-ui'),
|
||||
prefixColor: '#E55137',
|
||||
env: {}
|
||||
});
|
||||
|
||||
COMMAND_GHOST.env['comments__url'] = 'http://localhost:7174/comments-ui.min.js';
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ Comments widget that is embedded at the bottom of posts in Ghost.
|
|||
### Pre-requisites
|
||||
|
||||
- Run `yarn` in Ghost monorepo root
|
||||
- Run `yarn` in this directory
|
||||
|
||||
### Running via Ghost `yarn dev` in root folder
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue