mirror of
https://github.com/lights0123/n-link.git
synced 2026-08-07 18:23:28 +00:00
Router to vue-router 4 with hash history (custom protocol has no server for path-based deep links). createApp replaces new Vue. The device store is registered on globalProperties so n-link-core templates keep resolving $devices, and also provided via DEVICES_KEY for <script setup> injection. Removes Plan A's temporary harness and scaffold assets. Also renames desktop/postcss.config.js and tailwind.config.js to .cjs: with "type": "module" in desktop/package.json, Node treated their `module.exports`/`require` as ES module syntax and errored. This was latent since the Vue 3 foundation task because nothing previously imported n-link-core/assets/tailwind.css for real; this task's App.vue is the first to trigger postcss processing during the build.
9 lines
199 B
JavaScript
9 lines
199 B
JavaScript
module.exports = {
|
|
content: [
|
|
'./index.html',
|
|
'./src/**/*.{vue,js,ts}',
|
|
'../n-link-core/components/**/*.{vue,js,ts}',
|
|
],
|
|
presets: [require('../n-link-core/tailwind.config.js')],
|
|
};
|