From f97e67664a8db3fde4a87c72ee96d357b7547863 Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 6 Apr 2018 17:41:25 -0400 Subject: [PATCH] feat: support style/script hoisting + css modules --- docs/test.md | 5 ---- docs/using-vue.md | 9 +++---- lib/markdown/component.js | 6 ++--- lib/markdown/hoist.js | 20 +++++++++++++++ lib/markdown/index.js | 2 ++ lib/webpack/baseConfig.js | 47 ++++++++++++++++++++--------------- lib/webpack/markdownLoader.js | 9 +++++-- package.json | 2 +- yarn.lock | 6 ++--- 9 files changed, 67 insertions(+), 39 deletions(-) delete mode 100644 docs/test.md diff --git a/docs/test.md b/docs/test.md deleted file mode 100644 index 8d5c7ab7e5..0000000000 --- a/docs/test.md +++ /dev/null @@ -1,5 +0,0 @@ - - - -

hello

-
diff --git a/docs/using-vue.md b/docs/using-vue.md index 06cb227221..0839db3ce4 100644 --- a/docs/using-vue.md +++ b/docs/using-vue.md @@ -79,10 +79,10 @@ Make sure a custom component's names either contains a hyphen or is in PascalCas Sometimes you may need to apply some JavaScript or CSS only to the current page. In those case you can directly write root-level `