DNNCommunity / starter-module-spa

SPA module starter project for DNN Platform (formerly known as DotNetNuke) made by and for the DNN Community.
Other
5 stars 2 forks source link
dnn dnncms dnnplatform dotnetnuke hacktoberfest spa

# starter-module-spa

License: MIT

starter-module-spa is a SPA module starter project for DNN Platform (formerly known as DotNetNuke) made by and for the DNN Community.

Installation

Installation Option #1

Clone this repo into a clean directory of your choice.

git clone https://github.com/DNNCommunity/starter-module-spa.git .

Installation Option #2

Use dnn-cli, which is available as an npm package. dnn-cli can be installed via yarn or npm.


Install dnn-cli...

...via yarn:

yarn global add @dnncommunity/dnn-cli

...via npm:

npm install -g @dnncommunity/dnn-cli

Once dnn-cli is installed, this starter project can be installed into an empty directory of your choice.

cd <directory path>
dnn module spa

Usage

  1. Install DNN in a .\Website folder (root of directory in which this project is cloned)
  2. Open solution file in Visual Studio 2019 (Run as Adminstrator...)
  3. Build in Debug or Release mode

Debug

By default this will compile the project and deploy it to the .\Website folder.

Release

By default this will create a module install package and place in .\Website\Install\Module so it will be in Available Extensions within DNN (SETTINGS > Extensions > Available Extensions).

Contributing

Pull requests are welcome. Please open an issue first to document the bug or enhancement details.

License

License: MIT