• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

How do I set up my dev environment for child themes?

Scheduled Pinned Locked Moved NodeBB Development
3 Posts 3 Posters 1.3k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexander Shortt
    wrote on last edited by
    #1

    Hello

    I'm trying to decide whether I want to fork persona or create a child theme. I set up the dev environment as a child and found that I have to run ./nodebb upgrade every time I want to see my changes. Does forking make more sense? If so how do I set up my dev environment for that?

    Also, side question, is there a template that applies global HTML?

    1 Reply Last reply
    0
  • ShardS Offline
    ShardS Offline
    Shard
    wrote on last edited by
    #2

    When I have forked, in the past, I give the theme a new name and flip back and forth as needed.

    1 Reply Last reply
    0
  • PitaJP Offline
    PitaJP Offline
    PitaJ Global Moderator Plugin & Theme Dev
    wrote on last edited by
    #3

    You don't need to run ./nodebb upgrade every time you make changes. You just need to run ./nodebb build. You can use the --dev flag to make it faster because you don't need minification during dev.

    You can also use grunt to dev but you'll need to disable the emoji plugin.

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development