Comments (4)
@farfromrefug Thanks. Can't use discord because the group seems to require a phone verification which I don't want.
Anyway, I figured this out, so if anyone got into this, here's the solution:
When using nx with the NS plugin, there are two package.json
-s generated, one in the root and another in the nativescript-***
app. In the second one, the reference to material ui component needs to be added too under dependencies, with *
as version (the same way as @nativescript/core). Then the platform stuff is generated correctly at build and everything works.
from ui-material-components.
@ziacik sorry about the demo app. Tbh I haven't touched the angular demo for a while.
Now about your error in your app it seems to say it can't find the native android lib.
I dont use nx so I can't tell. Can you try with in a template angular app? Again I am sorry I dont use angular but I know for certain other people are using it with angular.
from ui-material-components.
@farfromrefug Thanks for the quick response. I tried this with nativescript original angular template, and it seems to work (altough at first I had an error saying I must set Material theme to styles.xml, so I did). So I guess I must figure out the differences with nx template. Thanks, closing.
from ui-material-components.
@ziacik ok let me know if i can help. You can also find me in the discord of N
from ui-material-components.
Related Issues (20)
- [BottomNavigation] How can I use with Svelte? HOT 15
- does not work with vue3 HOT 3
- [MDTextView][Android] Setting height of the component doesn't work HOT 8
- [MDTextField][MDTextView][Android] Helper seems not to work HOT 2
- Calling js method onCreateView failed HOT 15
- Types missing for Angular Bottomsheet: ui-material-bottomsheet/angular missing index.d.ts file HOT 4
- [BottomNavigation][Tabs][Android] Outlet becomes unresponsive/freezes when using nested outlets HOT 4
- [Request] Border radius for bottom sheet HOT 2
- [BottomNavigationBar] If activeColor is not provided, setting inactiveColor crashes the app HOT 1
- MDTabs selectedIndex not woking HOT 1
- MDTabStripItem only support two Element on Image and Label HOT 1
- [Vue3] bottom sheet props returning undefined HOT 4
- [Tabs][Angular] Can not create Tabs dynamic via code
- 7.2.0+: ripple not correctly applied on Android using borderRadius HOT 8
- [BottomSheet][iOS] App crashes when tapping background or drag to close bottom sheet HOT 3
- Error after updating to 7.2.13 (probably Tabs) HOT 6
- MDTextField Android error with secure option HOT 2
- MDTabContentItem already registered HOT 3
- background does not expand to fill width going portrait to landscape on iOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ui-material-components.