TypeScript and Sass
Last updated
Was this helpful?
Last updated
Was this helpful?
Web development without JavaScript and CSS can hardly be called web development. As for modern web development, the tools of choice are and .
Both are more-or-less syntactic sugar around JavaScript and CSS, respectively, but they go a long way in ensuring that the code is easier to read and maintain.
While not strictly part of the DWS WP Framework, the example plugin used on comes with a pre-configured setup for compiling TS and SCSS files into JS and CSS files, respectively, using (together with a few other post-optimizations).
Using TypeScript and Sass is not part of this documentation, but they are mentioned since we strongly recommend using them in any modern project to minimize bugs and increase developer satisfaction.