Jamie-Yang / vue3-boilerplate

A Vue 3 Starter Boilerplate with Webpack 5, Vue Router 4, Pinia 2, TypeScript 5, Prettier and More.
MIT License
242 stars 88 forks source link

DefinePlugin is not working #7

Closed tom10271 closed 3 years ago

tom10271 commented 3 years ago

service/config/base.js

__VUE_OPTIONS_API__: 'true',

At least I cannot console.log(__VUE_OPTIONS_API__)

Jamie-Yang commented 3 years ago

I have tried in main.ts, mounted() and setup(), all of them can output correctly. Where did you test it?

Jamie-Yang commented 3 years ago

Closing due to inactivity.