mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
@ -117,7 +117,7 @@ export default function ngAdd(options: IonAddOptions): Rule {
|
|||||||
`Ionic Add requires a project type of "application".`
|
`Ionic Add requires a project type of "application".`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const sourcePath: Path = join(project.root as Path, project.sourceRoot as Path);
|
const sourcePath: Path = join(project.sourceRoot as Path);
|
||||||
const rootTemplateSource = apply(url('./files/root'), [
|
const rootTemplateSource = apply(url('./files/root'), [
|
||||||
template({ ...options }),
|
template({ ...options }),
|
||||||
move(sourcePath)
|
move(sourcePath)
|
||||||
|
Reference in New Issue
Block a user