Skip to content

A sass Loader to help the usage of sass files in Power Apps Component Framework

License

Notifications You must be signed in to change notification settings

michaelfp/pcf-sass-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sass Loader For Power Apps Component FrameWork

A load to helps you to use sass in you pcf component

Install using the follwing command

npm install pcf-sass-loader file-loader extract-loader css-loader postcss-loader sass-loader --save-dev

after edit the webpackconfig.js file in /node_modules/pcf-scripts on rules

`{ test: /.scss$/, //find per files that is sass use: [

                    {
                        loader: require.resolve('file-loader'),
                        options: {
                            name: '[folder]/[name].css' // create the compiled file in the same location that is configured in the project
                        }
                    },
                     {
                        loader: require.resolve("pcf-sass-loader"),
                    },
                    {
                        loader: require.resolve('extract-loader')
                    }, {
                        loader: require.resolve('css-loader'),
                        options: {
                            url: true
                        }
                    }, {
                        loader: require.resolve('postcss-loader')
                    }, {
                        loader: require.resolve('sass-loader')
                    }
                   
                ]
            }`

About

A sass Loader to help the usage of sass files in Power Apps Component Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published