docs: update imports and package names across docs (#9375)
* docs: update imports and package names across docs + reference configs * generate files * fix import * change preview to rc
This commit is contained in:
1 parent
c726ed54f5
commit
2e16949979
196 files changed
+1379
-1491
No files matched your search
+2
-2
@@ -18,7 +18,7 @@ either in a plugin, in a provider module, or directly in your Medusa application
|
||||
## How to Create a Tax Provider
|
||||
|
||||
A tax provider class is defined in a TypeScript or JavaScript file. The class must implement the
|
||||
`ITaxProvider` interface imported from `@medusajs/types`.
|
||||
`ITaxProvider` interface imported from `@medusajs/framework/types`.
|
||||
|
||||
The file can be defined in a plugin, a provider module, or under the `src/services` directory of your Medusa application. You can later pass the package's name or the
|
||||
path to the file in the `providers` option of the Tax Module.
|
||||
@@ -26,7 +26,7 @@ path to the file in the `providers` option of the Tax Module.
|
||||
For example:
|
||||
|
||||
```ts title="src/services/my-tax.ts"
|
||||
import { ITaxProvider } from "@medusajs/types"
|
||||
import { ITaxProvider } from "@medusajs/framework/types"
|
||||
|
||||
export default class MyTaxProvider implements ITaxProvider {
|
||||
// ...
|
||||
|
||||
Reference in new issue
Block a user