Skip to content

Commit

Permalink
fix(skeleton): fix navigation scaffold with alameda
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Feb 14, 2019
1 parent 0147567 commit 9413239
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 37 deletions.
6 changes: 2 additions & 4 deletions lib/commands/new/buildsystems/cli/loaders/alameda.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ module.exports = function(project, options) {
project.addToClientDependencies(
'alameda',
'text'
).addToContent(ProjectItem.resource('index.html', 'content/index.template.html')
.asTemplate(model, { type: model.markupProcessor })
);

if (model.platform.id === 'web') {
project.addToContent(ProjectItem.resource('index.html', 'content/require.index.html'));
}
};
7 changes: 3 additions & 4 deletions lib/commands/new/buildsystems/cli/loaders/require.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ module.exports = function(project, options) {
project.addToClientDependencies(
'requirejs',
'text'
)
.addToContent(ProjectItem.resource('index.html', 'content/index.template.html')
.asTemplate(model, { type: model.markupProcessor })
);
).addToContent(ProjectItem.resource('index.html', 'content/index.template.html')
.asTemplate(model, { type: model.markupProcessor })
);
};
7 changes: 3 additions & 4 deletions lib/commands/new/buildsystems/cli/loaders/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ module.exports = function(project, options) {
project.addToClientDependencies(
'systemjs',
'systemjs-plugin-text'
)
.addToContent(ProjectItem.resource('index.html', 'content/index.template.html')
.asTemplate(model, { type: model.markupProcessor })
);
).addToContent(ProjectItem.resource('index.html', 'content/index.template.html')
.asTemplate(model, { type: model.markupProcessor })
);
};
12 changes: 0 additions & 12 deletions lib/resources/content/require.index.html

This file was deleted.

13 changes: 0 additions & 13 deletions lib/resources/content/system.index.html

This file was deleted.

0 comments on commit 9413239

Please sign in to comment.