Giter VIP home page Giter VIP logo

Comments (13)

rolu315 avatar rolu315 commented on July 17, 2024 6

I just added "bulma-extensions/" to each extension import in the src/sass/index/sass file. Then referenced @import "bulma-extensions/src/sass/index.sass"; and it finally started for me. Not for sure if this was the best practice or not, but it worked for me :)

from bulma-extensions.

weiliang903 avatar weiliang903 commented on July 17, 2024 1

This is success
@import '~bulma-extensions/bulma-carousel/dist/bulma-carousel.sass';

from bulma-extensions.

mIcHyAmRaNe avatar mIcHyAmRaNe commented on July 17, 2024 1

@import '~bulma-extensions/dist/bulma-extensions.min.css';

don't forget to import the javascript of some components otherwise they will not work fine :)

from bulma-extensions.

aminukano585 avatar aminukano585 commented on July 17, 2024 1

Thanks @rolu315 your method works just fine!

from bulma-extensions.

Wikiki avatar Wikiki commented on July 17, 2024

Hi,

don't you forget the ~ or the direct node_modules path ?

from bulma-extensions.

permadiwibisono avatar permadiwibisono commented on July 17, 2024

/* index.scss */
@import 'node_modules/bulma/bulma';
@import 'node_modules/bulma-extensions/extensions';
I've tried using ~ and node_modules but still errors in webpack File to import not found or unreadable: node_modules/bulma-extensions/extensions.
I'm using bulma-extensions: ^1.0.3. Or different version?

image

from bulma-extensions.

Wikiki avatar Wikiki commented on July 17, 2024

How did you install extensions ?
Are you including node_modules directory to your loader ?

from bulma-extensions.

permadiwibisono avatar permadiwibisono commented on July 17, 2024

Install with npm npm install --save bulma-extensions. I think my webpack its work. Because when import bulma/bulma in my scss its work. I just following this tutorial but I got error when import bulma-extensions. So how to use your package?

from bulma-extensions.

permadiwibisono avatar permadiwibisono commented on July 17, 2024

@weiliang903 Its just some extensions what you need to import. How to import all extensions? I think with
@import '~bulma-extensions/src/extension.sass', it will be work. I found extension.sass inside src of this repo.

from bulma-extensions.

Wikiki avatar Wikiki commented on July 17, 2024

Hi,

thanks @permadiwibisono but you rather should use the file within dist instead src.

I have to update package.json to point to this file (currently it's pointing to extension.sass which doesn't exists)

from bulma-extensions.

cindykj avatar cindykj commented on July 17, 2024

How would you implement the javascript of Carousel into AngularJS? Thanks!

from bulma-extensions.

Wikiki avatar Wikiki commented on July 17, 2024

Hi,

@mIcHyAmRaNe : thank you for the complement.

@cindykj : There is no implementation into AngularJS and it's not scheduled. Feel free to fork this repository and create an AngularJS version.

regards

from bulma-extensions.

Bally26 avatar Bally26 commented on July 17, 2024

@mIcHyAmRaNe
Is Carousel navigation working for this?
Or need to handle this manually.

Imported "node_modules/bulma-extensions/dist/js/bulma-extensions.min.js" to angular.json but Carousel navigation not working.

How to implement below after importing bulma-extensions.min.js:
Then just add the following code once your DOM's ready:

var carousels = bulmaCarousel.attach(); // carousels now contains an array of all Carousel instances

from bulma-extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.