2

新手问下,请问 nextjs + antd 脚手架有没有手把手教学啊?

 1 year ago
source link: https://www.v2ex.com/t/925445
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  程序员

新手问下,请问 nextjs + antd 脚手架有没有手把手教学啊?

  Jtyczc · 3 小时 19 分钟前 · 489 次点击

纯新手,有个报错大佬们帮忙看下:

error - /Users/victor/IdeaProjects/next-elite-admin-web/node_modules/antd/es/form/Form.js:9
import classNames from 'classnames';
^^^^^^

SyntaxError: Cannot use import statement outside a module

应该是这行代码报错了: import { FilterValue, SorterResult, TablePaginationConfig, } from 'antd/es/table/interface'

我上网查了下,貌似从零建立一个项目好像很多搭配,没有脚手架直接让我业务代码开发吗


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK