Creates a new Tableau static site with Corex installed.
Install archives:
mix archive.install hex tableau_new
mix archive.install hex corex_newmix corex.tableau.new PATH runs mix tableau.new PATH --template heex --js esbuild --css tailwind,
then writes Corex-owned files and patches into that app.
Corex-only options
--no-design- skip thecorex_designdependency and live design build. Ships a static neo/lightassets/corex/export (all components) you can edit or delete. Cannot combine with--mode,--theme, or--a11y. Default is--design(design on).--mode- theme/mode toggle head scripts for light/dark. Implies--design.--theme- themes (Neo/Uno/Duo/Leo), theme toggle, layout bridge. Implies--design.--a11y- preference axes, head script, panel UI. Default off. Implies--design.--lang- Gettext, Localize, per-locale pages (en/fr/ar), language<.select>. Implies--design.--mcp/--no-mcp- when--mcp(default), a Bandit MCP server starts in dev on port 4004, and.cursor/mcp.jsonis written forhttp://localhost:4004/corex/mcp. Use--no-mcpto skip. Never enable remote access casually.--usage-rules/--no-usage-rules- when--usage-rules(default), adds{:usage_rules, "~> 1.1", only: :dev}and skills sync config.--dev PATH-{:corex, path: PATH},{:corex_design, path: PATH/design}, and relativecorex.mjsimport when building JS.--install/--no-install- whether Corex runsmix deps.getin the new project after generation (prompt if omitted).
Examples
mix corex.tableau.new my_blog
mix corex.tableau.new my_blog --mode --theme
mix corex.tableau.new my_blog --mode --theme --a11y
mix corex.tableau.new my_blog --lang
mix corex.tableau.new my_blog --no-design
mix corex.tableau.new my_blog --dev ../corexTo update the generator before creating a project:
mix local.corex
mix corex.tableau.new my_blog