refactor: doc structure

This commit is contained in:
07akioni 2019-09-23 19:14:15 +08:00
parent 310783367b
commit a01bef7adf
214 changed files with 63 additions and 54 deletions

View File

@ -17,7 +17,7 @@ const webpackConfig = {
chunkFilename: '[name].[hash:7].js'
},
resolve: {
extensions: ['.js', '.vue', '.json'],
extensions: ['.js', '.vue', '.json', '.entry'],
alias: config.alias,
modules: ['node_modules']
},
@ -35,6 +35,10 @@ const webpackConfig = {
},
module: {
rules: [
{
test: /index.entry$/,
loader: ['vue-loader', path.resolve(__dirname, '../demo/loaders/NaiveUIDocEntryLoader.js')]
},
{
test: /index\.md$/,
loader: ['vue-loader', path.resolve(__dirname, '../demo/loaders/NaiveUIDocLoader.js')]

Some files were not shown because too many files have changed in this diff Show More