docs(nextjs): add babel presets as dependencies (#5705)
This commit is contained in:
parent
8017c09b7e
commit
9995ecb17c
@ -23,6 +23,9 @@ npm install --save react react-dom next
|
||||
# Install webpack loader for Markdown (Use version 3+)
|
||||
npm install --save-dev frontmatter-markdown-loader
|
||||
|
||||
# If using NextJS v11.0.0 or above, @babel/core and @babel/preset-react has to be installed as dependencies of frontmatter-markdown-loader
|
||||
npm install --save-dev @babel/core @babel/preset-react
|
||||
|
||||
# Create folder for pages (default for NextJS), and add a index file
|
||||
mkdir pages
|
||||
touch pages/index.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user