vuejs / docs Goto Github PK
View Code? Open in Web Editor NEW๐ Documentation for Vue 3
Home Page: https://vuejs.org
License: MIT License
๐ Documentation for Vue 3
Home Page: https://vuejs.org
License: MIT License
When the prop has the type of Function, the default
is treated as a value instead of factory:
https://github.com/vuejs/docs-next/blob/master/src/guide/component-props.md#prop-validation
// Type function, the default will be the default function
propG: {
type: Function,
default: function () {
return 'Default function'
},
},
PR with the change vuejs/core#1349
Per @mlama007, need to update the color on yellow:
#836e03
From #31 (comment) and #31 (comment)
An example with reversedMessage
on Computed properties chapter is introducing to complex handling of strings which is out of the scope here. We can add a simpler example something like the sum of two numbers as a computed property.
The example about in-template expressions makes sense, but we introduce computed properties as a mechanism to get derived values. The introduction as a solution to prevent complex expressions in templates does not sound that impressive.
Is there a way to make line numbers enabled to code blocks?
module.exports = {
markdown: {
lineNumbers: true
}
}
This page applies only to Vue 2.x and below, and assumes you've already read the Reactivity Section. Please read that section first.
In order to address concerns brought up via #40, I've created this issue to track how we lint docs going forward in order to make everyone's life easier. This will also have the benefit of making contributors lives easier since we won't have to request them to make stylistic changes anymore.
Prettier has styles that conflict with the Vue style guide (e.g., space before parentheses when defining functions) and @NataliaTepluhina brought up the idea of switching to ESLint.
Let people know what blocks are available to them
Moving the PR from the other repo over to docs-next, with the intention that we can get support from Maria or someone to take it to the next level
In #42, there was a discussion that this "### Automatic Global Registration of Base Components" is not needed in this section since it's more of a technique than a fundamental concept to understand.
The proposal is to move it to the Cookbook.
To reduce friction for users transitioning to the docs site since there will be a separate redesign, the goal here is to migrate the old theme over to VuePress is a functional manner so it will be easy to extend when the redesign happens.
Why Vue.js
and Get Started
Subscribe to Newsletter
formThere is a method in DropdownTransition.vue
: setHeight(items)
that is inappropriately animating the heights.
Per @sdras:
we shouldn't be animating height here. I know the alternative is more work but I can do it in a followup PR, this causes layout thrashing and repaints
๐ฆ Consider MD / Vue Components in default VuePress theme for a convention for versioning strategy
https://www.notion.so/vueteam/Code-scenario-examples-edb7d6bfa2414077bde2fae42cad47cc
This is most likely managed somewhere via Hexo on the current site, so we'll need to figure this piece out before rolling it out to production
Similar to the current Vuejs.org site, we need a way to manage the sidebar content.
@mlama007 Feel free to break this down as much as you need!
We need to decide on how do we want to handle translations. I think for now it's really too much work to move them to separate folders on docs VuePress site so maybe it's a good idea to leave them as separate repos? Let's discuss
By now, API reference section is still missing a part of global APIs such as h
, defineComponent
, defineAsyncComponent
etc.
Already done:
Yet to do:
Per @znck suggestion, we should detect these to pay more attention to these changes
In v2, this section belongs to Handling Edge Cases. Currently, we don't have edge cases section in docs at all but maybe it's worth creating one
// /foo#hello -> /bar#hello
//
// For these cases where a section on one page has
// moved to a perhaps differently-named section on
// another page, we need this.
Currently, Style guide examples are copied from Vue2. We need to update them to match Vue 3 syntax
Merged RFC: https://github.com/vuejs/rfcs/pull/154/files
Similar to old docs, we should have
"Deployed by Netlify" in the footer
Description updated to reflect a decision we've come up on comments
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.