Article
0 comment

Use PrismJS for syntax highlighting in console.log in NodeJS

With Markshell I created a small tool that allows you to output Markdown files directly to the console. Why that? Right now, when you write a CLI or any console application, you like to provide some help for it. On the other hand, you also want to have proper documentation set up on Github pages or only in the Github Repo.
Markshell is precisely for that and helps and provides this opportunity and helps you to avoid writing multiple documentations.
[Read more]

Article
0 comment

PnP/SPFx 1.6.0-beta1 published – StyleLint, Webpack Bundle Analyzer, Jest Testing and more

Today I published the first beta version of the upcoming PnP/SFPx version 1.6.0. It is the most significant releases since the launch of the Angular Elements support for SPFx.

@pnp/spfx-beta1

Instead of adding new frameworks at the moment this release focuses more on your development workflow. There are updates included that helps you to write cleaner code, reduce bundle sizes and last but not least helps you on testing your ReactJS projects.

[Read more]

Article
4 comments

Lift the curtains on SPFX and improve your debugging

When you are working with SPFX and you start it with gulp serve, it takes some time to start. During this startup many things happen but there are not clear indication if SPFx is working or what it actually does.

gulp server - default start

gulp server – default start

Once the workbench was started you see all the gulp task that will be executed with or without error and what it actually does.
The background tasks are well hidden, but you can take a peek into those background activities. It’s just a simple trick, but I use it every time now when I work with SPFX now.
Instead, execute gulp server and add the command line optionĀ --verbose. Execute SPFx with:

gulp serve --verbose

Now the hidden world and architecture of SPFX will become more visible. In additon you get sometimes many additonal informations what might goes wrong.

gulp serv - with verbose logging

gulp serv – with verbose logging

From my point of view, it is easier and helps with debugging.
I will also see if the issue is caused by your configuration, code or locate a problem with SPFX.

Happy coding!!!

Article
0 comment

A bash on Windows and the new SharePoint Framework

a-bash-on-windows

You might have heard the Unix Bash Shell is now coming to Windows. To be more specific a whole Linux sub system based on the Ubuntu distribution comes to Windows. This addition to Windows was announce at this years Build Conference and I knew exactly how this would match to my clients and other people in the SharePoint Community. Especially with the new SharePoint Framework you should know this option because it makes many things easier using NodeJS on Windows.

[Read more]

Article
0 comment

Web stack development – A 19 year old love – Office PNP Webcast

I started web development in 1997 with some basic HTML pages and Style Sheets. Shortly after I installed my first Apache Web Server, PHP and MySql on my PC.
Soon after I fell in love with the web and web technologies in general. It was natural for me that I got my first job as a web developer for a huge company in my home town. The following year we built intranet systems and web application for this company. All built on this web stack and developed mostly locally.

[Read more]