docusaurus/packages/docusaurus-init/templates
Sam Zhou cf5babd5c1
chore(v2): Add E2E test for yarn v2 (#3008)
* chore(v2): Add E2E test for yarn v2

* Remove root node_modules to prevent them from accessible in e2e test

The purpose of e2e test is to ensure that the docusaurus inited website can stand on its own. The root node_modules remain accessible according to how node resolution works and it might interfere with the test. Remove them for safety.

* Add @mdx-js/react to docusaurus init templates
2020-07-01 12:06:03 +02:00
..
bootstrap chore(v2): Add E2E test for yarn v2 (#3008) 2020-07-01 12:06:03 +02:00
classic chore(v2): Add E2E test for yarn v2 (#3008) 2020-07-01 12:06:03 +02:00
facebook chore(v2): Add E2E test for yarn v2 (#3008) 2020-07-01 12:06:03 +02:00
README.MD feat(v2): @docusaurus/init package (#1655) 2019-07-14 01:06:23 +07:00

Templates

Official templates provided by Docusaurus. They are designed to be selected when using the npx @docusaurus/init@next init [name] [template] CLI command.

Guide to Test Templates for Developer

  1. yarn install in the root of the repo (one level above this directory).
  2. Go to any template's directory, example: cd classic && yarn start.