Installation Instructions
John
- Status: Moderator
- Total Posts: 5
Theme Setup
From the Nop.Web directory
Add the following code to Nop.Web.csproj:
You can use the theme right away. However, to fully leverage Tailwind CSS for customizations, regenerate the dist.css file to reflect any changes made in the HTML.
Generate a new dist.css file
From the theme directory
Install packages
Watch and build the dist.css file that is consumed by the theme
From the Nop.Web directory
src/Presentation/Nop.Web
Add the following code to Nop.Web.csproj:
<Content Remove="Themes\PolrBoilerplate\node_modules\**" />
<Compile Remove="Themes\PolrBoilerplate\node_modules\**" />
<EmbeddedResource Remove="Themes\PolrBoilerplate\node_modules\**" />
<None Remove="Themes\PolrBoilerplate\node_modules\**" />
<Compile Remove="Themes\PolrBoilerplate\node_modules\**" />
<TypeScriptCompile Remove="Themes\PolrBoilerplate\node_modules\**" />
You can use the theme right away. However, to fully leverage Tailwind CSS for customizations, regenerate the dist.css file to reflect any changes made in the HTML.
Generate a new dist.css file
From the theme directory
src/Presentation/Nop.Web/Themes/PolrBoilerplate
Install packages
npm install
Watch and build the dist.css file that is consumed by the theme
npm run dev
#7
0
8 months ago