我在laravel项目中导入bulma但是样式不起作用

我在laravel项目中导入bulma但是样式不起作用

问题描述:

I have installed bulma using npm in my laravel project and I have imported it in app.scss file but its not working.

I have compiled the project using nmp run dev and npm run watch. I cant understand whats the problem

@import 'node_modules/font-awesome/scss/font-awesome';

@import './node_modules/bulma/bulma.sass';

@import 'node_modules/buefy/src/scss/buefy';

this is app.scss file of my Laravel project

Bulma should work properly

我在laravel项目中使用npm安装了bulma并将其导入app.scss文件但是它无法正常工作 。 p>

我使用nmp run dev和npm run watch编译了项目。 我无法理解这个问题是什么 p>

  @import'node_modules / font-awesome / scss / font-awesome'; 
 
 @ import'./node_modules/bulma/bulma  .sass'; 
 
 @ import'node_modules / buefy / src / scss / buefy'; 
  code>  pre> 
 
 

这是我的Laravel项目的app.scss文件

布尔玛应该正常工作 p> div>

I found a way I guess I was doing it manually that is why I messed up so I found about the laravel front-end presets so I configure it using

composer require laravel-frontend-presets/bulma