Title: Node_modules and publishing a theme live
Last modified: April 25, 2023

---

# Node_modules and publishing a theme live

 *  [twentyfourdegrees](https://wordpress.org/support/users/twentyfourdegrees/)
 * (@twentyfourdegrees)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/node_modules-and-publishing-a-theme-live/)
 * Good day everyone,
 * I made my first theme using tailpress which uses node.js. I want to publish my
   theme for testing on a live server. I know about the command ‘npm run dev” but
   can someone tell me what the correct procedure is to publish a node.js based 
   WordPress theme?
 * For example: do I need to include the node_modules directory or the resources
   js and css folders?
 * Thank you very much for your help,
 * kind regards.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fnode_modules-and-publishing-a-theme-live%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [3 years, 1 month ago](https://wordpress.org/support/topic/node_modules-and-publishing-a-theme-live/#post-16685651)
 * Hi there,
 * Had to look this up for myself because curiosity and I do see they have some 
   discussions: [https://github.com/jeffreyvr/tailpress/discussions](https://github.com/jeffreyvr/tailpress/discussions)
 * I think the repo ([https://github.com/jeffreyvr/tailpress](https://github.com/jeffreyvr/tailpress))
   might be a slightly better read for me. I do see that you can run a `npm run 
   production` script that will give you what you need to push to the live site.
 * Hopefully that helps a little bit.
 *  Thread Starter [twentyfourdegrees](https://wordpress.org/support/users/twentyfourdegrees/)
 * (@twentyfourdegrees)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/node_modules-and-publishing-a-theme-live/#post-16686405)
 * Well I’m a bit new to npm and I’m trying to enqueue both Flowbite CSS and JS.
   But I will try to follow your advice, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Node_modules and publishing a theme live’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [twentyfourdegrees](https://wordpress.org/support/users/twentyfourdegrees/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/node_modules-and-publishing-a-theme-live/#post-16686405)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
