Skip to content

Commit

Permalink
docs(enable_module): serve instead of server
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain authored Jan 14, 2025
1 parent e630f73 commit 8221d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trame_server/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def enable_module(self, module, **kwargs):
- styles = [] : List all CSS URL that should be loaded
- vue_use = ['libName', ('libName2', { **options })]: List Vue plugin to load
- state = {} : Set of variable to add to state
- server = { data: '/path/on/fs' }: Set of endpoints to server static content
- serve = { data: '/path/on/fs' }: Set of endpoints to serve static content
- www = '/path/on/fs' : Path served as main web content
:param module: A module to enable or a dict()
Expand Down

0 comments on commit 8221d95

Please sign in to comment.