Comments (8)
Hi @Rickem,
You forgot the tild in your import:
@import '~bulma'
Without it, it's not going to import from node modules but from current path.
Regards
from bulma-extensions.
Hi @Rickem,
is it working now ?
from bulma-extensions.
it doesn't work on angular 7
from bulma-extensions.
Could you please share a boilerplate Angular 7 project including the extension with me ?So I'll be able to try to find out what's wrong (I'm not an Angular guy but I'll try to find something)
from bulma-extensions.
so after adding both the css and js files in my Angular.json, i imported the bulmaCarousel in my HeaderComponent.ts as ''import { bulmaCarousel } from 'bulma-carousel/dist/js/bulma-carousel.min.js';''
and initilize the .attach method as ''public carousels = bulmaCarousel.attach('.carousel');''
so i got this error back => ''ERROR TypeError: Cannot read property 'attach' of undefined''
from bulma-extensions.
And you have no error with the line import { bulmaCarousel } from 'bulma-carousel/dist/js/bulma-carousel.min.js';
?
It's weird that bulmaCarousel
object is undefined after importing it.
Please try importing from src folder instead of dist and tell me the result.
from bulma-extensions.
I used npm to install the package so definitely it is only dist folder I will have which is from the node_modules directory, I don't have the src folder
from bulma-extensions.
Angular has so many possible ways to use, so if you have any better option just help with the steps pls, i think that's the best thing to do
from bulma-extensions.
Related Issues (20)
- Bulma steps
- Update checkradio version
- Unrecognized text Switch
- Quickview additional variables
- bulma-slider is out-of-date and doesn't compile
- datetimepicker-clear-button in bulma-calendar submits a form HOT 4
- Bulma FormValidation
- Timeline not working for me
- Flip tooltips to other positions when near the edge of viewport HOT 1
- Options are not working when using bulma calendar
- Bulma Collapsible HOT 1
- bulma-switch.min.css has sass variables
- Unable to use bulma-carousel
- [Feature Request] Organizational or tree chart
- Using Bulma Extensions with Gatsby
- Pulling "bulma-slider" v1.0.4 instead of latest one
- Tooltip cropped in table-container HOT 1
- Tooltip not displaying HOT 2
- [CHECKBOX] RTL also reverses switch direction
- Activate tooltip on :hover only (not on :focus) ? HOT 1
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 bulma-extensions.