Zehir

Results 90 comments of Zehir

I have the same issue when building with vite; ```bash (node:31101) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (Use `node...

I have the same error with the lastest version of Vuelidate ```bash [build:*vite] (node:6948) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs...

The type:module solution is on the vuelidate/core package.json file. I tried to change it from the node_module folder, it's also work in that case. Also setting the no external option...

You can use this as base template. https://github.com/antfu/vitesse

Does he would / should only accept strings and you need to use `useToString` for the other ones or cast anything to string ?

Something like this ? ```typescript export function useConcatenate( ...values: MaybeComputedRef[], ): ComputedRef { return useArrayReduce(values, (fullStr = '', str) => fullStr += `/${resolveUnref(str)}`) } ```

Any updates in the last 4 months ?

Or maybe just a url that is a `Ref` instead of a `string`. Is there an usage of updating the options ? Most of them are at initialisation

> I'm getting the same error again, this time with Vuetify 3 beta. > > I was trying to import: > > ```ts > import 'vuetify/styles' > ``` > >...

The solution with vite 3 is to set the package to [ssr.noExternal](https://vitejs.dev/config/ssr-options.html#ssr-noexternal) For example: ```typescript // Imports export default defineConfig({ ... // https://github.com/antfu/vite-ssg ssgOptions: { script: 'async', formatting: 'minify', onFinished()...