Skip to content

Commit

Permalink
fix(nextjs): add styled components and emotion to Next.js preset options
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #2058
  • Loading branch information
jdpearce authored and vsavkin committed Feb 18, 2020
1 parent 30721d5 commit a849b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-nx-workspace/bin/create-nx-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function determineStyle(preset: Preset, parsedArgs: any) {
}
];

if (preset === Preset.ReactWithExpress || preset === Preset.React) {
if ([Preset.ReactWithExpress, Preset.React, Preset.NextJs].includes(preset)) {
choices.push(
{
value: 'styled-components',
Expand Down

0 comments on commit a849b4d

Please sign in to comment.