terra-components | Official plentymarkets plugin providing components | Frontend Utils library
kandi X-RAY | terra-components Summary
kandi X-RAY | terra-components Summary
These are the official plugin components developed by plentymarkets. This repository provides components to build plugins for the plentymarkets ERP.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of terra-components
terra-components Key Features
terra-components Examples and Code Snippets
Community Discussions
Trending Discussions on terra-components
QUESTION
I am trying to integrate a third party angular component into an Ionic 3 demo application.
That angular component is having HTML, CSS & SCSS inside, so I've modified my webpack.config.js to include loaders.
This has created two problems for me:
- "Object prototype may only be an Object or null: undefined"
- Sass Error: File to import not found or unreadable: ~bootstrap/scss/mixins
My webpack.config.js
...ANSWER
Answered 2018-Feb-21 at 05:38The "issue Object prototype may only be an Object or null: undefined" is related with not using a compatible angular version, you might be using terra components with version 5 of angular. Downgrade angular version to 4 and check if the error still exists.
Another issue "Sass Error: File to import not found or unreadable: ~bootstrap/scss/mixins" is with sass-loader. sass-loader usually detects ~ and searches in the node modules for the same. In this case sass-loader is not recognizing it and it is throwing an error. Change ~ to node_modules and check if error is still present. For more info about this issue check https://github.com/webpack-contrib/sass-loader
QUESTION
ANSWER
Answered 2018-Feb-16 at 11:52Problem is with the loaders in your webpack.config.js.
Try replacing with your loaders with mine, that should work for you.
You can replace the whole code though.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install terra-components
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page