Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VuePress Next Alpha #815

Merged
merged 255 commits into from
Sep 26, 2018
Merged

VuePress Next Alpha #815

merged 255 commits into from
Sep 26, 2018

Conversation

ulivz
Copy link
Member

@ulivz ulivz commented Sep 8, 2018

Status: ≈ 96% ready and feedbacks are welcome.


Major Features

Plugin API

Refined Theme API

Permalink

Markdown file slots

  • Define slots:
- Evan You

<template slot="projects">

    - Vue.js
    - VueX

</template>
  • Using slots:
<Content/> <!-- get default slot -->
<Content slot="projects"> <!-- get named slot -->

Free to add new pages

You can add new pages with content (i.e. pointing to markdown files) or no content (i.e. common routes).

Custom temp path

vuepress dev docs --temp .temp

Clean layout

In the past, custom layouts were actually implemented by default theme, now it's moved to core.

Configurable dev and ssr template

Major internal Changes

  1. Leverage monorepo;
  2. Decouple @vuepress/core and @vuepress/theme-default
  3. Rewrite Prepare with Plugin API

TODO

  1. Improve ducumentation;
  2. Prepare an online slide or article to introduce VuePress Next;
  3. Official blog theme;
  4. Clean URL (Allow devServer to serve cleanURL #603);
  5. Hoist search as a plugin;
  6. Introduce markdown-it-chain to make markdown configurable; (Low priority);
  7. Rest feature requests.

Release plan

alpha (Sep. - Oct.) => beta (Nov.) => rc (Dec. - Jan.)

Close

Close: #160 (Dynamic routes do not get generated with build)
Close: #281 (Register global components in themes )
Close: #372 (back to top button)
Close: #434 (light-box)
Close: #452 (Data files and dynamic page generation support)
Close: #465 (Page Level Encryption)
Close: #549 (Ability to read/compile .MD file from installed npm module)
Close: #573 (light-box)
Close: #576 (Choosing 404.vue)
Close: #594 (Last Update should be support to change date format pattern)
Close: #600 (custom themeLayoutPath)
Close: #662 (Open config to custom themes)
Close: #723 (Change temp directory)
Close: #729 (Define custom component directory and import custom components)
Close: #733 (Config the dev and build html template. )
Close: #758 (Add webpackServer config)
Close: #771 ([cli] Expose clean build)
Close: #786 (vuepress build command will effect other vuepress dev command in running. )
Close: #790 (How can I add pure js code to index.html)


cc @yyx990803

ulivz added 30 commits June 4, 2018 00:31
1. Move global components registration to a single plugin 'vuepress-plugin-register-global-components'
2. Support register global theme components (`${themePath}/components`) (#345)
1. Strip date from slug,
2. Rename I18n to ClientComputedMixin,
3. Clean internal I18nTemp plugin
@ekoeryanto
Copy link
Contributor

I am ready with my 🎆 fireworks

@ulivz ulivz removed status: WIP Work in progress type: question or discussion Question or discussion labels Sep 26, 2018
@oscarteg
Copy link

All the plugin links are giving a 404.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.