menu

Canner

⚡️A Content Management Framework Canner standardized Content Management Architecture for enterprises, create custom Content Management System easy and fast.. Support us 👉https://opencollective.com/cannercms

Channels
Team

Is it possible to serve canner statically?

February 5, 2019 at 7:46pm

Is it possible to serve canner statically?

February 5, 2019 at 7:46pm

i have a project configured with webpack and react, it's run, I want to know if is possible to serve canner statically


February 10, 2019 at 4:17am

https://www.cannercms.com/docs/cli-start from this I am guessing that you could by using the start:cms command

like-fill
1
  • reply
  • like

Hi, Carlos, if you are using react component of Canner and webpack yourself, then you can just build the static files with webpack and serve them by other tools like https://www.npmjs.com/package/serve.

like-fill
1
  • reply
  • like

And yes, as Johhan mentioned, if anyone wants to build the static files without webpack or other react configs, you can use the command canner start, which creates the static files in .cms folder, see https://www.cannercms.com/docs/cli-start.

PS: the canner start:cms is removed now, use canner start instead

  • reply
  • like