Block themes and classic themes. This guide covers the complete WordPress setup for Nakshora 3.1.
Install#
terminal
npm install -D @nakshora/vite-pluginConfigure#
functions.php
// build the theme CSS with the CLI, enqueue the result
add_action('wp_enqueue_scripts', function () {
wp_enqueue_style('nakshora', get_theme_file_uri('dist/app.css'), [], filemtime(get_theme_file_path('dist/app.css')));
});Verify#
terminal
npx nakshora doctorDoctor validates your config, checks that content globs match real files, and prints the engine version.
Troubleshooting#
- Cache plugins: purge CSS cache after rebuilds
Next#
Styling patterns: concepts/utility-first-methodology|utility-first methodology · performance: performance/index|performance guide.
