Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support config singular in .umirc.js #280

Merged
merged 1 commit into from
Mar 30, 2018
Merged

Conversation

sorrycc
Copy link
Member

@sorrycc sorrycc commented Mar 30, 2018

使用单数目录,

  • src/layout/index.js
  • src/page
  • model in umi-plugin-dva

Config in .umirc.js

export default {
  singular: true,
};

@sorrycc sorrycc merged commit feebe38 into master Mar 30, 2018
@sorrycc sorrycc deleted the feat/config-singular branch March 30, 2018 04:07
@ghost
Copy link

ghost commented Apr 27, 2018

开启单数目录后改名成model不会自动加载模块。还是需要models

sorrycc pushed a commit that referenced this pull request Jun 23, 2022
…in (#280)

* example: Added with-tailwindcss example

* example(with-tailwindcss): Removed postcss rule in webpack chain

* example(with-tailwindcss): Removed unused dependencies
xierenyuan pushed a commit to xierenyuan/umi that referenced this pull request Jun 23, 2022
…in (umijs#280)

* example: Added with-tailwindcss example

* example(with-tailwindcss): Removed postcss rule in webpack chain

* example(with-tailwindcss): Removed unused dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant