
Template Syntax - Vue.js
Here we're encountering something new. The v-html attribute you're seeing is called a directive.Directives are prefixed with v-to indicate that they are special attributes provided by …
Using Axios to Consume APIs — Vue.js
See the Pen Third Step Axios and Vue by Vue on CodePen.. Dealing with Errors. There are times when we might not get the data we need from the API. There are several reasons that our …
Using Vue with TypeScript
Projects scaffolded via create-vue include pre-configured tsconfig.json. The base config is abstracted in the @vue/tsconfig package. Inside the project, we use Project References to …
KeepAlive - Vue.js
Include / Exclude By default, <KeepAlive> will cache any component instance inside. We can customize this behavior via the include and exclude props. Both props can be a comma …
Vue and Web Components
SFC as Custom Element . defineCustomElement also works with Vue Single-File Components (SFCs). However, with the default tooling setup, the <style> inside the SFCs will still be …
HTML and Static Assets - Vue CLI
Result filenames include content hashes so you don’t need to worry about browsers caching their old versions. The public directory is provided as an escape hatch, and when you reference it …
Ways of Using Vue
Ways of Using Vue . We believe there is no "one size fits all" story for the web. This is why Vue is designed to be flexible and incrementally adoptable.
Working with CSS - Vue CLI
Loaders which can be configured via loaderOptions include: css-loader; postcss-loader; sass-loader; less-loader; stylus-loader
KeepAlive - Vue.js
Include / Exclude デフォルトでは、 <KeepAlive> はコンポーネント内のどんなコンポーネントでもキャッシュします。 この動作は include と exclude props を使用してカスタマイズできま …
SFC CSS Features - Vue.js
You can also include both scoped and non-scoped styles in the same component: vue < style > /* global styles */ </ style > < style scoped > /* local styles */ </ style >