Skip to content

Commit

Permalink
docs(vue): fix typo import -> important (#19444)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehoczky authored Dec 3, 2023
1 parent 1b4b463 commit 00f77ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/shared/recipes/add-stack/add-vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export { default as Counter } from './Counter.vue';
```

{% callout type="Note" %}
The `default` is very import here as it allows us to import the component using `import { Counter } from '@acme/counter'` instead of `import Counter from '@acme/counter'`.
The `default` is very important here as it allows us to import the component using `import { Counter } from '@acme/counter'` instead of `import Counter from '@acme/counter'`.
{% /callout %}

Update your root `./vite.config.ts` to include the following:
Expand Down

1 comment on commit 00f77ea

@vercel
Copy link

@vercel vercel bot commented on 00f77ea Dec 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-nrwl.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-five.vercel.app
nx.dev

Please sign in to comment.