Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Router Module import mismatch path #319

Open
sulthanmamusa opened this issue Oct 31, 2021 · 0 comments
Open

Router Module import mismatch path #319

sulthanmamusa opened this issue Oct 31, 2021 · 0 comments

Comments

@sulthanmamusa
Copy link

sulthanmamusa commented Oct 31, 2021

Current Behavior

nativescript-schematics/src/generate/module/index.ts file

line: 229

const importFrom = , NativeScriptRouterModule } from '@angular/router';;
const importTo = ` } from '@angular/router';

output:

import { NativeScriptRouterModule, Routes } from '@angular/router';

Expected Behavior

const importFrom = NativeScriptRouterModule, Routes } from '@angular/router';;
const importTo = ` Routes } from '@angular/router';

output:

import { Routes } from '@angular/router';
import { NativeScriptRouterModule } from '@nativescript/angular';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant