-
Notifications
You must be signed in to change notification settings - Fork 451
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
Organising template files in the same folder for all platforms #64
Comments
Hi @metzc thanks, I will be bringing this change in soon however it will be based on this: https://github.com/NathanWalker/nativescript-ng2-magic which uses I'll commit this change once the rc.1 update is complete. Just waiting on @ocombe to update ng2-translate :) |
nativescript-ng2-magic looks great! is the plan to fully merge it into the seed? |
I believe I will. I've been debating on whether I want to combine the decorator from magic with the one here. At any rate, this integration will be in by the end of the week. |
You can now create NativeScript view templates right beside your web templates. Just suffix them with `.tns.html` and everything will work. Also a symbolic link is created so you can make changes in either folder `src/client` or `nativescript`. This also allows livesync to work. See the new commands in the readme under ‘NativeScript App’ section. closes #64
You can now create NativeScript view templates right beside your web templates. Just suffix them with `.tns.html` and everything will work. Also a symbolic link is created so you can make changes in either folder `src/client` or `nativescript`. This also allows livesync to work. See the new commands in the readme under ‘NativeScript App’ section. closes #64
@metzc This is available on master now, see the new commands as well: This also creates a symbolic link between web src and {N} app so you can now make changes in either folder and they will be the same. Lastly, this makes |
You can now create NativeScript view templates right beside your web templates. Just suffix them with `.tns.html` and everything will work. Also a symbolic link is created so you can make changes in either folder `src/client` or `nativescript`. This also allows livesync to work. See the new commands in the readme under ‘NativeScript App’ section. closes #64
You can now create NativeScript view templates right beside your web templates. Just suffix them with `.tns.html` and everything will work. Also a symbolic link is created so you can make changes in either folder `src/client` or `nativescript`. This also allows livesync to work. See the new commands in the readme under ‘NativeScript App’ section. closes #64
I did some code changes here to show the idea of the (feature?) request.
Having all the template files side by side for one component would feel way more natural for me (and also more in the spirit of this seed, as far as i understand it).
This currently fails on runtime (iOS) with:
Error: File app/components/app/app.component.xml does not exist.
(However, the file does exist at this location in the nativescript folder.)
The text was updated successfully, but these errors were encountered: